diff options
author | Vaxry <[email protected]> | 2024-05-09 21:47:21 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-05-09 22:02:18 +0100 |
commit | 635a02d83fe9d598cf5f6aba47e672647608fb76 (patch) | |
tree | 71f5e2ad0991af3086602c5b30b1411ee4c04562 /src/events | |
parent | 85f7f69046c07c61f59b0ef7cccd01e88b316413 (diff) | |
download | Hyprland-635a02d83fe9d598cf5f6aba47e672647608fb76.tar.gz Hyprland-635a02d83fe9d598cf5f6aba47e672647608fb76.zip |
layer-shell: move to new impl
Also bumps the hw-s dep
Diffstat (limited to 'src/events')
-rw-r--r-- | src/events/Windows.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 221348ff..4ccf8e41 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -6,6 +6,7 @@ #include "../managers/TokenManager.hpp" #include "../render/Renderer.hpp" #include "../config/ConfigValue.hpp" +#include "../protocols/LayerShell.hpp" // ------------------------------------------------------------ // // __ _______ _ _ _____ ______ _______ // @@ -481,7 +482,7 @@ void Events::listener_mapWindow(void* owner, void* data) { // check LS focus grab const auto PFORCEFOCUS = g_pCompositor->getForceFocus(); const auto PLSFROMFOCUS = g_pCompositor->getLayerSurfaceFromSurface(g_pCompositor->m_pLastFocus); - if (PLSFROMFOCUS && PLSFROMFOCUS->layerSurface->current.keyboard_interactive) + if (PLSFROMFOCUS && PLSFROMFOCUS->layerSurface->current.interactivity != ZWLR_LAYER_SURFACE_V1_KEYBOARD_INTERACTIVITY_NONE) PWINDOW->m_bNoInitialFocus = true; if (PWORKSPACE->m_bHasFullscreenWindow && !requestsFullscreen && !PWINDOW->m_bIsFloating) { if (*PNEWTAKESOVERFS == 0) |