]> Pileus Git - ~andy/gtk/commit
GdkFrameClock: add freeze/thaw
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 3 Oct 2012 23:42:13 +0000 (19:42 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:48 +0000 (17:19 -0500)
commit1824796bfb643378b72fdacffa9d923379266819
treecf93c6308c100c84341f5c0eb5fd3f81665baf10
parentc4545cc5d47364b66b7ecd7bb482210fb8c8655a
GdkFrameClock: add freeze/thaw

Add the ability to freeze a frame clock, which pauses its operation,
then thaw it again later to resume.

Initially this is used to implement freezing updates when we are
waiting for ConfigureNotify in response to changing the size of
a toplevel.

We need a per-window clock for this to work properly, so add that
for the X11 backend.

https://bugzilla.gnome.org/show_bug.cgi?id=685460
gdk/gdkframeclock.c
gdk/gdkframeclock.h
gdk/gdkframeclockidle.c
gdk/gdkwindow.c
gdk/x11/gdkwindow-x11.c