events: set reported size on the end of mapping

fixes #3743
This commit is contained in:
Vaxry 2023-11-03 22:47:12 +00:00
parent 15b25d5850
commit 200cccdd3b

View file

@ -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) {