diff options
author | emersion <contact@emersion.fr> | 2018-10-23 23:38:57 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-10-23 23:38:57 +0200 |
commit | a654ac1bd626e13917568acaebb6ecdb04c77596 (patch) | |
tree | 87d9e727e76d7eea9f74ba609f73cf7aa82b9c2f /sway/server.c | |
parent | Merge pull request #2942 from ianyfan/swaybar (diff) | |
download | sway-a654ac1bd626e13917568acaebb6ecdb04c77596.tar.gz sway-a654ac1bd626e13917568acaebb6ecdb04c77596.tar.zst sway-a654ac1bd626e13917568acaebb6ecdb04c77596.zip |
Implement the presentation-time protocol
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 3 |
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) { | |||
135 | server->xdg_decoration.notify = handle_xdg_decoration; | 135 | server->xdg_decoration.notify = handle_xdg_decoration; |
136 | wl_list_init(&server->xdg_decorations); | 136 | wl_list_init(&server->xdg_decorations); |
137 | 137 | ||
138 | server->presentation = | ||
139 | wlr_presentation_create(server->wl_display, server->backend); | ||
140 | |||
138 | wlr_export_dmabuf_manager_v1_create(server->wl_display); | 141 | wlr_export_dmabuf_manager_v1_create(server->wl_display); |
139 | wlr_screencopy_manager_v1_create(server->wl_display); | 142 | wlr_screencopy_manager_v1_create(server->wl_display); |
140 | 143 | ||