From a654ac1bd626e13917568acaebb6ecdb04c77596 Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 23 Oct 2018 23:38:57 +0200 Subject: Implement the presentation-time protocol --- sway/server.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sway/server.c') diff --git a/sway/server.c b/sway/server.c index 23d42028..f06173d1 100644 --- a/sway/server.c +++ b/sway/server.c @@ -135,6 +135,9 @@ bool server_init(struct sway_server *server) { server->xdg_decoration.notify = handle_xdg_decoration; wl_list_init(&server->xdg_decorations); + server->presentation = + wlr_presentation_create(server->wl_display, server->backend); + wlr_export_dmabuf_manager_v1_create(server->wl_display); wlr_screencopy_manager_v1_create(server->wl_display); -- cgit v1.2.3