summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-15 17:17:58 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-15 17:17:58 -0500
commit79a148224ffb5a55510de691f95eda2d32c6d2bf (patch)
treebf779cc67bbd6532066258037a3e97df27833bfc
parentdca68f9aa1ea7132391828456093463de008e0c4 (diff)
specify version in wlr_xdg_shell_create()
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 40ace0c..0acb22e 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1896,7 +1896,7 @@ setup(void)
layer_shell = wlr_layer_shell_v1_create(dpy);
wl_signal_add(&layer_shell->events.new_surface, &new_layer_shell_surface);
- xdg_shell = wlr_xdg_shell_create(dpy);
+ xdg_shell = wlr_xdg_shell_create(dpy, 2);
wl_signal_add(&xdg_shell->events.new_surface, &new_xdg_surface);
input_inhibit_mgr = wlr_input_inhibit_manager_create(dpy);