diff options
| author | vaxerski <vaxry@vaxry.net> | 2024-01-17 14:43:38 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2024-01-17 14:43:38 +0100 |
| commit | 307dd8f511ab51dbf0900d16f29d66db8b619158 (patch) | |
| tree | 23a1ef9b75424ad280d6ee6dcb551ccc0a2abed3 /src/managers/input/InputManager.cpp | |
| parent | 8342bac697b7abf036ec1c005af695fb8ab99b13 (diff) | |
input: partially revert #4401
ref #4465
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 8bfdb65c..ce7e2b30 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -359,7 +359,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { bool allowKeyboardRefocus = true; - if (g_pCompositor->m_pLastFocus) { + if (!refocus && g_pCompositor->m_pLastFocus) { const auto PLS = g_pCompositor->getLayerSurfaceFromSurface(g_pCompositor->m_pLastFocus); if (PLS && PLS->layerSurface->current.keyboard_interactive == ZWLR_LAYER_SURFACE_V1_KEYBOARD_INTERACTIVITY_EXCLUSIVE) |
