diff options
author | Vaxry <[email protected]> | 2023-11-03 22:47:12 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2023-11-03 22:47:12 +0000 |
commit | 200cccdd3bbb3e093164d6cce61eedfe527f74da (patch) | |
tree | b72c09c1b9c5b8ffbead19923fe95a77c1a0552e | |
parent | 15b25d58505f98005e44de18b7f6a83dc8b18877 (diff) | |
download | Hyprland-200cccdd3bbb3e093164d6cce61eedfe527f74da.tar.gz Hyprland-200cccdd3bbb3e093164d6cce61eedfe527f74da.zip |
events: set reported size on the end of mapping
fixes #3743
-rw-r--r-- | src/events/Windows.cpp | 3 |
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) { |