mirror of
https://github.com/hyprwm/Hypr.git
synced 2025-12-24 12:50:02 +01:00
fix fullscreen cut-off when switching workspace
This commit is contained in:
parent
a02646bd4b
commit
8bad02d115
1 changed files with 5 additions and 0 deletions
|
|
@ -962,6 +962,11 @@ void CWindowManager::setEffectiveSizePosUsingConfig(CWindow* pWindow) {
|
||||||
setAWindowTop(pWindow->getDrawable());
|
setAWindowTop(pWindow->getDrawable());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pWindow->getFullscreen()) {
|
||||||
|
TEMPEFFECTIVEPOS = MONITOR->vecPosition;
|
||||||
|
TEMPEFFECTIVESIZE = MONITOR->vecSize;
|
||||||
|
}
|
||||||
|
|
||||||
pWindow->setEffectivePosition(TEMPEFFECTIVEPOS);
|
pWindow->setEffectivePosition(TEMPEFFECTIVEPOS);
|
||||||
pWindow->setEffectiveSize(TEMPEFFECTIVESIZE);
|
pWindow->setEffectiveSize(TEMPEFFECTIVESIZE);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue