From 79a148224ffb5a55510de691f95eda2d32c6d2bf Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Sun, 15 May 2022 17:17:58 -0500 Subject: specify version in wlr_xdg_shell_create() --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3