animations: fix XWayland cursor glitch and refactor skill issues (#9033)
This commit is contained in:
parent
9e4f90aedf
commit
2778aff08f
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue