diff --git a/src/SFML/Window/Unix/WindowImplX11.cpp b/src/SFML/Window/Unix/WindowImplX11.cpp index c71518da..7e9394fa 100644 --- a/src/SFML/Window/Unix/WindowImplX11.cpp +++ b/src/SFML/Window/Unix/WindowImplX11.cpp @@ -890,6 +890,13 @@ bool WindowImplX11::processEvent(XEvent windowEvent) } break; } + + // Parent window changed + case ReparentNotify : + { + XSync(m_display, True); // Discard remaining events + break; + } } return true;