summaryrefslogtreecommitdiff
path: root/src/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index 7350f74c..73095fe0 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -356,6 +356,9 @@ void CWindow::moveToWorkspace(int workspaceID) {
m_pSwallowed->moveToWorkspace(workspaceID);
m_pSwallowed->m_iMonitorID = m_iMonitorID;
}
+
+ // update xwayland coords
+ g_pXWaylandManager->setWindowSize(this, m_vRealSize.vec());
}
CWindow* CWindow::X11TransientFor() {
@@ -687,7 +690,7 @@ void CWindow::setGroupCurrent(CWindow* pWindow) {
g_pCompositor->setWindowFullscreen(PCURRENT, false, WORKSPACE->m_efFullscreenMode);
PCURRENT->setHidden(true);
- pWindow->setHidden(false); // can remove m_pLastWindow
+ pWindow->setHidden(false); // can remove m_pLastWindow
g_pLayoutManager->getCurrentLayout()->replaceWindowDataWith(PCURRENT, pWindow);