git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commitbe8d6c9ac5cf4fbca20ff52fcbe841deada175a0
parentd34c58b062
authorIsaac Freund <[email protected]>
date2023-03-04 23:06
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();