From 5e60175c7a83e157eda60b03e4358e7ebc42638b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 22 Apr 2010 16:33:35 +0200 Subject: [PATCH] winex11: Flush the gdi display after processing the last event. --- dlls/winex11.drv/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;