diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2023-03-04 23:06:41 +0100 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2023-03-04 23:06:41 +0100 |
| commit | cc2b38af927a7463a6b08a99676c67c62b7c1159 (patch) | |
| tree | 97876ede8a32af3726d04f1d79cb1be85deddbfc | |
| parent | b6ac1021ae15aee97d4bf417c7e7f8767262f424 (diff) | |
| download | river-cc2b38af927a7463a6b08a99676c67c62b7c1159.tar.gz river-cc2b38af927a7463a6b08a99676c67c62b7c1159.tar.xz | |
presentation-time: support protocol
| -rw-r--r-- | river/Root.zig | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |
