mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 23:06:00 +01:00
fix incorrect mouse pos in fullscreen xdg
This commit is contained in:
parent
cda0c4577e
commit
0d54451c67
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
|
|||
|
||||
if (!pFoundWindow->m_bIsX11) {
|
||||
foundSurface = g_pCompositor->vectorWindowToSurface(mouseCoords, pFoundWindow, surfaceCoords);
|
||||
surfacePos = Vector2D(-1337, -1337);
|
||||
} else {
|
||||
foundSurface = g_pXWaylandManager->getWindowSurface(pFoundWindow);
|
||||
surfacePos = pFoundWindow->m_vRealPosition.vec();
|
||||
|
|
Loading…
Reference in a new issue