1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Linux: Prevent stale ConfigureNotify events from overwriting the current window position

This commit is contained in:
attila 2024-10-22 16:16:02 +02:00
parent efb0daf2e9
commit 3118ee1e5c
2 changed files with 10 additions and 1 deletions

View file

@ -3773,6 +3773,8 @@ void XWindowSystem::dismissBlockingModals (LinuxComponentPeer* peer) const
void XWindowSystem::handleConfigureNotifyEvent (LinuxComponentPeer* peer, XConfigureEvent& confEvent) const
{
const ScopedValueSetter<bool> scope { peer->inConfigureNotifyHandler, true };
peer->updateWindowBounds();
peer->updateBorderSize();
peer->handleMovedOrResized();