aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/events/Windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/Windows.cpp')
-rw-r--r--src/events/Windows.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp
index ce65fa72..19ea7dde 100644
--- a/src/events/Windows.cpp
+++ b/src/events/Windows.cpp
@@ -651,6 +651,9 @@ void Events::listener_mapWindow(void* owner, void* data) {
if (g_pCompositor->vectorToWindowIdeal(g_pInputManager->getMouseCoordsInternal()) == g_pCompositor->m_pLastWindow)
g_pInputManager->simulateMouseMovement();
+
+ // fix some xwayland apps that don't behave nicely
+ PWINDOW->m_vReportedSize = PWINDOW->m_vPendingReportedSize;
}
void Events::listener_unmapWindow(void* owner, void* data) {