mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-23 10:29:49 +01:00
fix minor refocus issue
This commit is contained in:
parent
c83948ea9a
commit
429b2bffed
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue