specify layer shell version

This commit is contained in:
Leonardo Hernández Hernández 2022-11-15 23:04:02 -06:00
parent fcb3fa4e90
commit 25dfdcc433
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

2
dwl.c
View File

@ -2038,7 +2038,7 @@ setup(void)
idle_inhibit_mgr = wlr_idle_inhibit_v1_create(dpy); idle_inhibit_mgr = wlr_idle_inhibit_v1_create(dpy);
wl_signal_add(&idle_inhibit_mgr->events.new_inhibitor, &idle_inhibitor_create); wl_signal_add(&idle_inhibit_mgr->events.new_inhibitor, &idle_inhibitor_create);
layer_shell = wlr_layer_shell_v1_create(dpy); layer_shell = wlr_layer_shell_v1_create(dpy, 3);
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, 4); xdg_shell = wlr_xdg_shell_create(dpy, 4);