animations: fix XWayland cursor glitch and refactor skill issues (#9033)

This commit is contained in:
Maximilian Seidler
2025-01-11 16:38:04 +00:00
committed by GitHub
parent 9e4f90aedf
commit 2778aff08f
2 changed files with 2 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ void CHyprXWaylandManager::setWindowSize(PHLWINDOW pWindow, Vector2D size, bool
// calculate pos
// TODO: this should be decoupled from setWindowSize IMO
Vector2D windowPos = pWindow->m_vRealPosition->value();
Vector2D windowPos = pWindow->m_vRealPosition->goal();
if (pWindow->m_bIsX11 && PMONITOR) {
windowPos -= PMONITOR->vecPosition; // normalize to monitor