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
Failed to generate hash of commit
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 wlr_drm_lease_v1_manager *drm_lease_manager;
struct wl_listener drm_lease_request; struct wl_listener drm_lease_request;
struct wlr_presentation *presentation;
struct wlr_pointer_constraints_v1 *pointer_constraints; struct wlr_pointer_constraints_v1 *pointer_constraints;
struct wl_listener pointer_constraint; struct wl_listener pointer_constraint;

View file

@ -259,7 +259,6 @@ bool server_init(struct sway_server *server) {
wl_signal_add(&server->pointer_constraints->events.new_constraint, wl_signal_add(&server->pointer_constraints->events.new_constraint,
&server->pointer_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 = server->output_manager_v1 =