diff options
-rw-r--r-- | include/sway/server.h | 2 | ||||
-rw-r--r-- | sway/server.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index bf195706..b0e8dfd6 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -82,8 +82,6 @@ struct sway_server { struct wlr_drm_lease_v1_manager *drm_lease_manager; struct wl_listener drm_lease_request; - struct wlr_presentation *presentation; - struct wlr_pointer_constraints_v1 *pointer_constraints; struct wl_listener pointer_constraint; diff --git a/sway/server.c b/sway/server.c index d173581f..69a9f27e 100644 --- a/sway/server.c +++ b/sway/server.c @@ -259,8 +259,7 @@ bool server_init(struct sway_server *server) { wl_signal_add(&server->pointer_constraints->events.new_constraint, &server->pointer_constraint); - server->presentation = - wlr_presentation_create(server->wl_display, server->backend); + wlr_presentation_create(server->wl_display, server->backend); server->output_manager_v1 = wlr_output_manager_v1_create(server->wl_display); |