]> git.mdlowis.com Git - proto/labwc.git/commitdiff
chase wlroots: new presentation_time version MR 4858
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Wed, 27 Nov 2024 03:27:21 +0000 (04:27 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 21 May 2025 05:36:08 +0000 (06:36 +0100)
Ref: 4c74a8843a08a39d6278de4a26759d93155feb2c
("presentation-time: bump protocol version to v2")

src/server.c
subprojects/wlroots.wrap

index 3c5938c0bf2c2502330a09d1e0f4f1c2273f79ed..7adafb12dc2130d86de301c3117d094c01208e80 100644 (file)
@@ -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);
index 5bd994b6b937619e4453d2e97b411482717715c3..9a1fe0bfd3d2c0b9d3c9f1f1d47185677b377bd8 100644 (file)
@@ -1,6 +1,6 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = 6006023a377868187f73d2e0922bbe952072684f
+revision = 4c74a8843a08a39d6278de4a26759d93155feb2c
 
 [provide]
 dependency_names = wlroots-0.19