summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-12-27 11:45:36 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-12-27 11:45:36 -0600
commit05c263de45f9f4ab2262e6bba111e7b95c153556 (patch)
tree81069b3310d5c46a580f8a3a141b3775be08f768
parentbf35e77811d1474fbd2dd4c9d2c269a65a4f1ba7 (diff)
only create wlr_presentation (wlroots!4482)
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4482
-rw-r--r--dwl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index ec2b1c1..d0ac38a 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2231,6 +2231,7 @@ setup(void)
wlr_viewporter_create(dpy);
wlr_single_pixel_buffer_manager_v1_create(dpy);
wlr_fractional_scale_manager_v1_create(dpy, 1);
+ wlr_presentation_create(dpy, backend);
/* Initializes the interface used to implement urgency hints */
activation = wlr_xdg_activation_v1_create(dpy);
@@ -2385,8 +2386,6 @@ setup(void)
LISTEN_STATIC(&output_mgr->events.apply, outputmgrapply);
LISTEN_STATIC(&output_mgr->events.test, outputmgrtest);
- wlr_scene_set_presentation(scene, wlr_presentation_create(dpy, backend));
-
/* Make sure XWayland clients don't connect to the parent X server,
* e.g when running in the x11 backend or the wayland backend and the
* compositor has Xwayland support */