summaryrefslogtreecommitdiff
path: root/src/events/Windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/Windows.cpp')
-rw-r--r--src/events/Windows.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp
index e98ebdc5..b64cc35c 100644
--- a/src/events/Windows.cpp
+++ b/src/events/Windows.cpp
@@ -272,6 +272,8 @@ void Events::listener_mapWindow(void* owner, void* data) {
// set the pseudo size to the GOAL of our current size
// because the windows are animated on RealSize
PWINDOW->m_vPseudoSize = PWINDOW->m_vRealSize.goalv();
+
+ g_pCompositor->moveWindowToTop(PWINDOW);
}
else {
g_pLayoutManager->getCurrentLayout()->onWindowCreated(PWINDOW);