]> Pileus Git - ~andy/gtk/commit
GdkDisplay: handle multiple calls to _gdk_display_pause_events()
authorOwen W. Taylor <otaylor@fishsoup.net>
Sun, 7 Oct 2012 18:13:56 +0000 (14:13 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:50 +0000 (17:19 -0500)
commite4aa9f05ae6e9b55d696f43c64ea61d91f8a1671
treedad4ddb35d293326fa206ceb31de7313e67e6321
parentd446dda9205f09b7a6ad88ac3acfa4fff85d9c66
GdkDisplay: handle multiple calls to _gdk_display_pause_events()

Since events can be paused independently for each window during processing,
make _gdk_display_pause_events() count how many times it is called
and only unpause when unpause_events() is called the same number of
times.

https://bugzilla.gnome.org/show_bug.cgi?id=685460
gdk/gdkdisplay.c
gdk/gdkdisplayprivate.h
gdk/gdkevents.c
gdk/gdkwindow.c