[gtk+/client-side-windows: 78/284] Set bg none while changing so we don't draw the bg color



commit 4d187531e4bfecf71b2c354dd7af38bd2f6cab38
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Jan 14 21:20:26 2009 +0100

    Set bg none while changing so we don't draw the bg color
---
 gdk/x11/gdkwindow-x11.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 0500f07..b3b6846 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -3377,6 +3377,9 @@ do_shape_combine_region (GdkWindow       *window,
                                    0, 0,
                                    &xrects, &n_rects);
       
+
+      _gdk_x11_window_tmp_unset_bg ((GdkWindow *)private->parent, TRUE);
+
       XShapeCombineRectangles (GDK_WINDOW_XDISPLAY (window),
                                GDK_WINDOW_XID (window),
                                shape,
@@ -3385,6 +3388,8 @@ do_shape_combine_region (GdkWindow       *window,
                                ShapeSet,
                                YXBanded);
 
+      _gdk_x11_window_tmp_reset_bg ((GdkWindow *)private->parent, TRUE);
+      
       g_free (xrects);
     }
 #endif /* HAVE_SHAPE_EXT */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]