use xdg-shell v4

This commit is contained in:
Leonardo Hernández Hernández 2022-06-09 12:45:02 -05:00
parent 4b890336e2
commit 948fdcf709
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, 3); xdg_shell = wlr_xdg_shell_create(dpy, 4);
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);