specify version in wlr_xdg_shell_create()
This commit is contained in:
parent
dca68f9aa1
commit
79a148224f
2
dwl.c
2
dwl.c
@ -1896,7 +1896,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);
|
xdg_shell = wlr_xdg_shell_create(dpy, 2);
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user