diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2004-07-09 22:44:35 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2004-07-09 22:44:35 +0000 |
commit | 69ab514aefe770ed16f823286c488eee24610bef (patch) | |
tree | 05f96237e950674ca2437351e6edd951222a557a /gdk/x11/gdkwindow-x11.h | |
parent | b22258e6a63b7cfa8879cded7415f76af5c45ccb (diff) | |
download | gtk+-69ab514aefe770ed16f823286c488eee24610bef.tar.gz |
Bug 113310.
Sat Jul 10 00:37:45 2004 Soeren Sandmann <sandmann@daimi.au.dk>
Bug 113310.
* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{un|re}set_bg):
New functions that can do a recursive unset/reset bg.
* gdk/x11/gdkgeometry-x11.c: Remove
gdk_window_tmp_{un|re}set_bg().
* gdk/x11/gdkwindow-x11.c (pre_unmap, post_unmap): New functions
called before and after unmapping a window. They unset the
background of all other windows to prevent flicker from the X
server repainting the background. post_unmap() also invalidates
the parent of the unmapped window to draw it without roundtrips.
* gdk/x11/gdkwindow-x11.c (show_window_internal): Unset
background of newly mapped windows and all desendants to prevent
flicker.
Diffstat (limited to 'gdk/x11/gdkwindow-x11.h')
-rw-r--r-- | gdk/x11/gdkwindow-x11.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/x11/gdkwindow-x11.h b/gdk/x11/gdkwindow-x11.h index 4e726f4b80..e2f160bd73 100644 --- a/gdk/x11/gdkwindow-x11.h +++ b/gdk/x11/gdkwindow-x11.h @@ -127,6 +127,11 @@ GType gdk_window_impl_x11_get_type (void); GdkToplevelX11 *_gdk_x11_window_get_toplevel (GdkWindow *window); void gdk_x11_window_set_user_time (GdkWindow *window, guint32 timestamp); +void _gdk_x11_window_tmp_unset_bg (GdkWindow *window, + gboolean recurse); +void _gdk_x11_window_tmp_reset_bg (GdkWindow *window, + gboolean recurse); + G_END_DECLS |