fix a small glitch with default workspace

This commit is contained in:
vaxerski 2021-12-21 19:46:45 +01:00
parent 0441b4a13e
commit 582afac75e

View file

@ -452,7 +452,7 @@ CWindow* Events::remapWindow(int windowID, bool wasfloating, int forcemonitor) {
}
}
if (PLASTWINDOW) {
if (PLASTWINDOW && PLASTWINDOW->getDrawable() != windowID) {
CWindow newWindowSplitNode;
newWindowSplitNode.setPosition(PLASTWINDOW->getPosition());
newWindowSplitNode.setSize(PLASTWINDOW->getSize());