Module: wine Branch: master Commit: 5e60175c7a83e157eda60b03e4358e7ebc42638b URL: http://source.winehq.org/git/wine.git/?a=commit;h=5e60175c7a83e157eda60b03e4...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Apr 22 16:33:35 2010 +0200
winex11: Flush the gdi display after processing the last event.
---
dlls/winex11.drv/event.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index 63fb5c1..7d84b63 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;