diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-22 18:16:32 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-22 18:16:32 +0200 |
| commit | 429b2bffeda0211e90b31b039a7d89cfe25ad6e6 (patch) | |
| tree | 406084b1410edf02db590aaa69d9373652118398 /src/managers/input/InputManager.cpp | |
| parent | c83948ea9aa53e893ef3e98f1c84426aced422fd (diff) | |
fix minor refocus issue
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 5241a0a0..43a1b5a5 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -269,7 +269,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { wlr_seat_pointer_notify_motion(g_pCompositor->m_sSeat.seat, time, surfaceLocal.x, surfaceLocal.y); return; // don't enter any new surfaces } else { - if (*PFOLLOWMOUSE != 3 && allowKeyboardRefocus) + if ((*PFOLLOWMOUSE != 3 && allowKeyboardRefocus) || refocus) g_pCompositor->focusWindow(pFoundWindow, foundSurface); } } else { |
