presentation-time: support protocol
This commit is contained in:
parent
b6ac1021ae
commit
cc2b38af92
@ -120,6 +120,9 @@ pub fn init(self: *Self) !void {
|
|||||||
|
|
||||||
_ = try wlr.XdgOutputManagerV1.create(server.wl_server, output_layout);
|
_ = 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 event_loop = server.wl_server.getEventLoop();
|
||||||
const transaction_timeout = try event_loop.addTimer(*Self, handleTransactionTimeout, self);
|
const transaction_timeout = try event_loop.addTimer(*Self, handleTransactionTimeout, self);
|
||||||
errdefer transaction_timeout.remove();
|
errdefer transaction_timeout.remove();
|
||||||
|
Loading…
Reference in New Issue
Block a user