mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 04:09:49 +01:00
parent
ef94375882
commit
62efc045d7
1 changed files with 1 additions and 4 deletions
|
@ -204,10 +204,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
|
|||
foundSurface = g_pCompositor->m_pLastFocus;
|
||||
pFoundWindow = g_pCompositor->m_pLastWindow;
|
||||
|
||||
if (!g_pCompositor->m_pLastWindow->m_bIsX11)
|
||||
foundSurface = g_pCompositor->vectorWindowToSurface(mouseCoords, g_pCompositor->m_pLastWindow, surfaceCoords);
|
||||
else
|
||||
surfacePos = g_pCompositor->m_pLastWindow->m_vRealPosition.vec();
|
||||
surfacePos = g_pCompositor->m_pLastWindow->m_vRealPosition.vec();
|
||||
|
||||
m_bFocusHeldByButtons = true;
|
||||
m_bRefocusHeldByButtons = refocus;
|
||||
|
|
Loading…
Reference in a new issue