summaryrefslogtreecommitdiff
path: root/src/events/Windows.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-10-01 18:25:02 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-10-01 18:25:02 +0100
commit355366714eb725d72286a7b6744d20a993ad57e5 (patch)
treee5435157a62057a7b0ae778b310c69e02757ccef /src/events/Windows.cpp
parent590fbf808b60baceef3b021050dae4c409121bf5 (diff)
minor OR XWayland fixes
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);