Skip to content

Commit 8bad02d

Browse files
committed
fix fullscreen cut-off when switching workspace
1 parent a02646b commit 8bad02d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/windowManager.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,11 @@ void CWindowManager::setEffectiveSizePosUsingConfig(CWindow* pWindow) {
962962
setAWindowTop(pWindow->getDrawable());
963963
}
964964

965+
if (pWindow->getFullscreen()) {
966+
TEMPEFFECTIVEPOS = MONITOR->vecPosition;
967+
TEMPEFFECTIVESIZE = MONITOR->vecSize;
968+
}
969+
965970
pWindow->setEffectivePosition(TEMPEFFECTIVEPOS);
966971
pWindow->setEffectiveSize(TEMPEFFECTIVESIZE);
967972
}

0 commit comments

Comments
 (0)