commit 79a148224ffb5a55510de691f95eda2d32c6d2bf
parent dca68f9aa1ea7132391828456093463de008e0c4
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date: Sun, 15 May 2022 17:17:58 -0500
specify version in wlr_xdg_shell_create()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);