]> Pileus Git - ~andy/gtk/commit
GdkWindowX11: Communicate gdk_frame_timings_get_slept_before() to the compositor
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 14 Nov 2012 21:50:05 +0000 (16:50 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:50 +0000 (17:19 -0500)
commit0def26ecf1834c1ca916328460263dede160611a
tree529aa46189fca8281e50700e57697a1b44eb39e9
parent58b5811d03ded179b285727407b6a6be3d4d0734
GdkWindowX11: Communicate gdk_frame_timings_get_slept_before() to the compositor

We want the compositor to do different things for frames where
"slept before" is TRUE. Communicate to the compositor that
frame is a no-delay frame (slept_before=FALSE) by ending the frame
by increasing the counter value by 1, and that the frame is a
normal frame (slept_before=TRUE) by increasing the counter value
by 3.

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