]> Pileus Git - ~andy/gtk/commit
wayland: don't attempt to unqueue events when events are paused
authorThomas Wood <thomas.wood@intel.com>
Wed, 20 Feb 2013 13:53:59 +0000 (13:53 +0000)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 21 Feb 2013 14:59:58 +0000 (09:59 -0500)
commit00a107cc4c16ed95142468735969fa82b2b8588f
tree064b0faf64e9b86032878161f9223d3702073327
parent919a5e3e24fb347e2f59b3c4192f73b94d8e0b28
wayland: don't attempt to unqueue events when events are paused

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.

https://bugzilla.gnome.org/show_bug.cgi?id=694274
gdk/wayland/gdkeventsource.c