Remove wlr_presentation in sway_server struct

It is no longer in use.
This commit is contained in:
Billli11 2023-12-28 18:28:28 +08:00 committed by GitHub
parent 64d644f0da
commit 0aceff7469
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -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;

View file

@ -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);