aboutsummaryrefslogtreecommitdiff
path: root/sway/server.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-25 15:31:47 +0200
committerGitHub <noreply@github.com>2018-10-25 15:31:47 +0200
commitea2497d35cc1a7357d69b8e09ce0104c82a7be39 (patch)
treee3f26e6347f9cdc96b551b3a8157ec54aa7aefed /sway/server.c
parentb1c49038a6812d7df914dbb873b93a8fe19c7889 (diff)
parenta654ac1bd626e13917568acaebb6ecdb04c77596 (diff)
Merge pull request #2950 from emersion/presentation-time
Implement the presentation-time protocol
Diffstat (limited to 'sway/server.c')
-rw-r--r--sway/server.c3
1 files changed, 3 insertions, 0 deletions
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);