mirror of
https://github.com/swaywm/sway.git
synced 2024-12-25 14:36:23 +01:00
server: check backend support for timelines
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4848
This commit is contained in:
parent
7f1cd0b73b
commit
17e2e52c6d
1 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,8 @@ bool server_init(struct sway_server *server) {
|
|||
}
|
||||
}
|
||||
if (wlr_renderer_get_drm_fd(server->renderer) >= 0 &&
|
||||
server->renderer->features.timeline) {
|
||||
server->renderer->features.timeline &&
|
||||
server->backend->features.timeline) {
|
||||
wlr_linux_drm_syncobj_manager_v1_create(server->wl_display, 1,
|
||||
wlr_renderer_get_drm_fd(server->renderer));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue