aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-04-14 17:26:03 +0200
committerSimon Ser <contact@emersion.fr>2023-04-14 17:26:03 +0200
commit5e847fe3c8bbb27f45ec6f4f6a8dbbe617867550 (patch)
tree379dcf8eb7e0498cbf9098c8560c9c3151a3a5ad /sway
parentdadf3e9b7865e7a907a6d95cbb94a2e1cd8cf67f (diff)
Pass version to wlr_compositor_create()
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3696
Diffstat (limited to 'sway')
-rw-r--r--sway/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/server.c b/sway/server.c
index 244c7aec..0cf767b7 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -103,7 +103,7 @@ bool server_init(struct sway_server *server) {
return false;
}
- server->compositor = wlr_compositor_create(server->wl_display,
+ server->compositor = wlr_compositor_create(server->wl_display, 5,
server->renderer);
server->compositor_new_surface.notify = handle_compositor_new_surface;
wl_signal_add(&server->compositor->events.new_surface,