[gtk+/client-side-windows: 256/284] Don't clear background on no exposure mask if NULL background pixmap set



commit 5ccc8b2ff1ec7c53e69067656032eeef1c1b832f
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Feb 5 20:20:23 2009 +0100

    Don't clear background on no exposure mask if NULL background pixmap set
    
    This is the same as background None in X, i.e. never draw the background.
---
 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index a51e06d..5aeb9ef 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -4460,7 +4460,7 @@ _gdk_window_process_updates_recurse (GdkWindow *window,
 	  
 	  g_object_unref (window);
 	}
-      else
+      else if (private->bg_pixmap != GDK_NO_BG)
 	{
 	  /* No exposure mask set, so nothing will be drawn, the
 	   * app relies on the background being what it specified



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