chase wlroots: new presentation_time version MR 4858

Ref: 4c74a8843a08a39d6278de4a26759d93155feb2c
("presentation-time: bump protocol version to v2")
This commit is contained in:
Consolatis 2024-11-27 04:27:21 +01:00 committed by Johan Malm
parent 0c2cf61895
commit d285b74a7b
2 changed files with 5 additions and 3 deletions

View 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);

View 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