]> Pileus Git - ~andy/gtk/commit
Broadway/Quartz/Win32: make event source prepare()/check() note paused status
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 20 Feb 2013 17:27:07 +0000 (12:27 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 21 Feb 2013 14:59:58 +0000 (09:59 -0500)
commitdf3e19b449815911acb73ead93a0063a9cfeb3bb
tree1a87384f253e5174bc19810348649fb17ef34a69
parent00a107cc4c16ed95142468735969fa82b2b8588f
Broadway/Quartz/Win32: make event source prepare()/check() note paused status

When events are paused, we should not return TRUE from prepare() or check().
GTK+ handles this for events that are already in the GTK+ queue, but
we also need suppress checks for events that are in the system queue - if we
return TRUE indicating that there are events in the system queue, then we'll
call dispatch(), and do nothing. The event source will spin, and will never
run the other phases of the paint clock.

(Broadway doesn't have a window system queue separate from the GDK event queue,
but we write the function the same way for consistency.)

https://bugzilla.gnome.org/show_bug.cgi?id=694274
gdk/broadway/gdkeventsource.c
gdk/quartz/gdkeventloop-quartz.c
gdk/win32/gdkevents-win32.c