use xdg-shell v3

This commit is contained in:
Leonardo Hernández Hernández 2022-06-07 00:55:41 -05:00
parent c7007b4811
commit 4b890336e2
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

2
dwl.c
View File

@ -1901,7 +1901,7 @@ setup(void)
layer_shell = wlr_layer_shell_v1_create(dpy); layer_shell = wlr_layer_shell_v1_create(dpy);
wl_signal_add(&layer_shell->events.new_surface, &new_layer_shell_surface); wl_signal_add(&layer_shell->events.new_surface, &new_layer_shell_surface);
xdg_shell = wlr_xdg_shell_create(dpy, 2); xdg_shell = wlr_xdg_shell_create(dpy, 3);
wl_signal_add(&xdg_shell->events.new_surface, &new_xdg_surface); wl_signal_add(&xdg_shell->events.new_surface, &new_xdg_surface);
input_inhibit_mgr = wlr_input_inhibit_manager_create(dpy); input_inhibit_mgr = wlr_input_inhibit_manager_create(dpy);