Skip to content

Commit

Permalink
events: set reported size on the end of mapping
Browse files Browse the repository at this point in the history
fixes #3743
  • Loading branch information
vaxerski committed Nov 3, 2023
1 parent 15b25d5 commit 200cccd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/events/Windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 200cccd

Please sign in to comment.