aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2024-01-17 14:43:38 +0100
committervaxerski <[email protected]>2024-01-17 14:43:38 +0100
commit307dd8f511ab51dbf0900d16f29d66db8b619158 (patch)
tree23a1ef9b75424ad280d6ee6dcb551ccc0a2abed3
parent8342bac697b7abf036ec1c005af695fb8ab99b13 (diff)
downloadHyprland-307dd8f511ab51dbf0900d16f29d66db8b619158.tar.gz
Hyprland-307dd8f511ab51dbf0900d16f29d66db8b619158.zip
input: partially revert #4401
ref #4465
-rw-r--r--src/managers/input/InputManager.cpp2
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)