aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-11-02 09:48:37 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-11-02 09:48:37 +0530
commita100b2ee33f41ef50c8c17c2f4c5532fb40d682e (patch)
tree86db568ba4aaf204f4c1d7296dee9bc1d045e190
parent69ba31114118914201971e362b83143397d0176c (diff)
parent84245764e28e6c841946ef706c704139e97d1bd4 (diff)
Merge remote-tracking branch 'upstream/main' into compromyse
-rw-r--r--dwl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index b71adcb..a6afc62 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2523,7 +2523,8 @@ setup(void)
wlr_linux_dmabuf_v1_create_with_renderer(dpy, 5, drw));
}
- if ((drm_fd = wlr_renderer_get_drm_fd(drw)) >= 0 && drw->features.timeline)
+ if ((drm_fd = wlr_renderer_get_drm_fd(drw)) >= 0 && drw->features.timeline
+ && backend->features.timeline)
wlr_linux_drm_syncobj_manager_v1_create(dpy, 1, drm_fd);
/* Autocreates an allocator for us.
@@ -2549,7 +2550,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);
+ wlr_presentation_create(dpy, backend, 2);
wlr_alpha_modifier_v1_create(dpy);
/* Initializes the interface used to implement urgency hints */