diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2012-10-03 18:34:01 -0400 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2013-02-14 17:19:47 -0500 |
commit | 77bac0d6ae2cbbe9a41ea36e705cc12f36df4cbc (patch) | |
tree | 2a50c8e9a30f11ea29399f88ef6a1bca600ada07 /gdk/gdkinternals.h | |
parent | 001f960a433a68124ce1cf49207c81fde646b57a (diff) | |
download | gtk+-77bac0d6ae2cbbe9a41ea36e705cc12f36df4cbc.tar.gz |
Add GdkFrameClock
Add an object GdkFrameClock that we associate with a GdkWindow.
This tracks when the window needs to be repainted, and will also
be used for other operations in the future like relayout and
updating animations.
Based on a patch from Havoc Pennington:
https://mail.gnome.org/archives/gtk-devel-list/2010-October/msg00004.html
https://bugzilla.gnome.org/show_bug.cgi?id=685460
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r-- | gdk/gdkinternals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index d150414c55..fb561e6f74 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -265,6 +265,8 @@ struct _GdkWindow gulong device_changed_handler_id; guint num_offscreen_children; + + GdkFrameClock *frame_clock; /* NULL to use from parent or default */ }; #define GDK_WINDOW_TYPE(d) (((GDK_WINDOW (d)))->window_type) |