diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index 63fb5c1094b..7d84b638e9e 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -379,8 +379,8 @@ static int process_events( Display *display, Bool (*filter)(Display*, XEvent*,XP break; } } - XFlush( gdi_display ); if (prev_event.type) call_event_handler( display, &prev_event ); + XFlush( gdi_display ); wine_tsx11_unlock(); if (count) TRACE( "processed %d events\n", count ); return count;