aboutsummaryrefslogtreecommitdiff
path: root/sway/server.c
diff options
context:
space:
mode:
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);