From cc2b38af927a7463a6b08a99676c67c62b7c1159 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 4 Mar 2023 23:06:41 +0100 Subject: [PATCH] presentation-time: support protocol --- river/Root.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/river/Root.zig b/river/Root.zig index 419b392..a528345 100644 --- a/river/Root.zig +++ b/river/Root.zig @@ -120,6 +120,9 @@ pub fn init(self: *Self) !void { _ = try wlr.XdgOutputManagerV1.create(server.wl_server, output_layout); + const presentation = try wlr.Presentation.create(server.wl_server, server.backend); + scene.setPresentation(presentation); + const event_loop = server.wl_server.getEventLoop(); const transaction_timeout = try event_loop.addTimer(*Self, handleTransactionTimeout, self); errdefer transaction_timeout.remove();