specify version in wlr_xdg_shell_create()

This commit is contained in:
Leonardo Hernández Hernández 2022-05-15 17:17:58 -05:00
parent dca68f9aa1
commit 79a148224f
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

2
dwl.c
View File

@ -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);