Loosen required zwlr_layer_shell_v1 version
Version 1 is enough for somebar. dwl exports version 3 but we don't even need to go that high.
This commit is contained in:
parent
8c52d4704c
commit
7433a1ff99
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ void onGlobalAdd(void*, wl_registry* registry, uint32_t name, const char* interf
|
|||
auto reg = HandleGlobalHelper { registry, name, interface };
|
||||
if (reg.handle(compositor, wl_compositor_interface, 4)) return;
|
||||
if (reg.handle(shm, wl_shm_interface, 1)) return;
|
||||
if (reg.handle(wlrLayerShell, zwlr_layer_shell_v1_interface, 4)) return;
|
||||
if (reg.handle(wlrLayerShell, zwlr_layer_shell_v1_interface, 1)) return;
|
||||
if (reg.handle(xdgOutputManager, zxdg_output_manager_v1_interface, 3)) return;
|
||||
if (reg.handle(xdgWmBase, xdg_wm_base_interface, 2)) {
|
||||
xdg_wm_base_add_listener(xdgWmBase, &xdgWmBaseListener, nullptr);
|
||||
|
|
Loading…
Reference in a new issue