diff --git a/src/server.c b/src/server.c index 3c5938c0..7adafb12 100644 --- a/src/server.c +++ b/src/server.c @@ -55,6 +55,7 @@ #define LAB_WLR_FRACTIONAL_SCALE_V1_VERSION 1 #define LAB_WLR_LINUX_DMABUF_VERSION 4 #define EXT_FOREIGN_TOPLEVEL_LIST_VERSION 1 +#define LAB_WLR_PRESENTATION_TIME_VERSION 2 static struct wlr_compositor *compositor; static struct wl_event_source *sighup_source; @@ -629,8 +630,9 @@ server_init(struct server *server) kde_server_decoration_init(server); xdg_server_decoration_init(server); - struct wlr_presentation *presentation = - wlr_presentation_create(server->wl_display, server->backend); + struct wlr_presentation *presentation = wlr_presentation_create( + server->wl_display, server->backend, + LAB_WLR_PRESENTATION_TIME_VERSION); if (!presentation) { wlr_log(WLR_ERROR, "unable to create presentation interface"); exit(EXIT_FAILURE); diff --git a/subprojects/wlroots.wrap b/subprojects/wlroots.wrap index 5bd994b6..9a1fe0bf 100644 --- a/subprojects/wlroots.wrap +++ b/subprojects/wlroots.wrap @@ -1,6 +1,6 @@ [wrap-git] url = https://gitlab.freedesktop.org/wlroots/wlroots.git -revision = 6006023a377868187f73d2e0922bbe952072684f +revision = 4c74a8843a08a39d6278de4a26759d93155feb2c [provide] dependency_names = wlroots-0.19