mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-23 22:05:58 +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());
|
||||
}
|
||||
|
||||
if (pWindow->getFullscreen()) {
|
||||
TEMPEFFECTIVEPOS = MONITOR->vecPosition;
|
||||
TEMPEFFECTIVESIZE = MONITOR->vecSize;
|
||||
}
|
||||
|
||||
pWindow->setEffectivePosition(TEMPEFFECTIVEPOS);
|
||||
pWindow->setEffectiveSize(TEMPEFFECTIVESIZE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue