mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-02 06:45:58 +01:00
fix a small glitch with default workspace
This commit is contained in:
parent
0441b4a13e
commit
582afac75e
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ CWindow* Events::remapWindow(int windowID, bool wasfloating, int forcemonitor) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PLASTWINDOW) {
|
if (PLASTWINDOW && PLASTWINDOW->getDrawable() != windowID) {
|
||||||
CWindow newWindowSplitNode;
|
CWindow newWindowSplitNode;
|
||||||
newWindowSplitNode.setPosition(PLASTWINDOW->getPosition());
|
newWindowSplitNode.setPosition(PLASTWINDOW->getPosition());
|
||||||
newWindowSplitNode.setSize(PLASTWINDOW->getSize());
|
newWindowSplitNode.setSize(PLASTWINDOW->getSize());
|
||||||
|
|
Loading…
Reference in a new issue