mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 19:46:00 +01:00
parent
31890026ea
commit
7fbe05a250
1 changed files with 3 additions and 0 deletions
|
@ -471,6 +471,9 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
|
||||||
if (FOLLOWMOUSE != 0 || pFoundWindow == g_pCompositor->m_pLastWindow)
|
if (FOLLOWMOUSE != 0 || pFoundWindow == g_pCompositor->m_pLastWindow)
|
||||||
g_pSeatManager->setPointerFocus(foundSurface, surfaceLocal);
|
g_pSeatManager->setPointerFocus(foundSurface, surfaceLocal);
|
||||||
|
|
||||||
|
if (g_pSeatManager->state.pointerFocus == foundSurface)
|
||||||
|
g_pSeatManager->sendPointerMotion(time, surfaceLocal);
|
||||||
|
|
||||||
m_bLastFocusOnLS = false;
|
m_bLastFocusOnLS = false;
|
||||||
return; // don't enter any new surfaces
|
return; // don't enter any new surfaces
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue