summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkevents-x11.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-01-23 13:15:04 +0100
committerAlexander Larsson <alex@localhost.localdomain>2009-04-02 10:15:25 +0200
commitc0ad534d818881dc044e4a621dffe602ed186e80 (patch)
treeddd57da2f200c1c56bcea5ac26a64e1f102109d0 /gdk/x11/gdkevents-x11.c
parentcb05af0a6186ae07b7c7236df1ef5c9faebea9c8 (diff)
downloadgtk+-c0ad534d818881dc044e4a621dffe602ed186e80.tar.gz
Convert all pending X events in _gdk_events_queue
If we only convert the first then motion hint emulation won't work since we don't see the next motion even until we've fully handled this one. However, this changes a behaviour that has been like this since the mists of time. I don't know if it could cause other issues. I haven't seen any yet though.
Diffstat (limited to 'gdk/x11/gdkevents-x11.c')
-rw-r--r--gdk/x11/gdkevents-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c
index de7e5e470b..ebe85734a6 100644
--- a/gdk/x11/gdkevents-x11.c
+++ b/gdk/x11/gdkevents-x11.c
@@ -2326,7 +2326,7 @@ _gdk_events_queue (GdkDisplay *display)
XEvent xevent;
Display *xdisplay = GDK_DISPLAY_XDISPLAY (display);
- while (!_gdk_event_queue_find_first(display) && XPending (xdisplay))
+ while (XPending (xdisplay))
{
XNextEvent (xdisplay, &xevent);