]> Pileus Git - ~andy/gtk/commitdiff
Don't clear background on no exposure mask if NULL background pixmap set
authorAlexander Larsson <alexl@redhat.com>
Thu, 5 Feb 2009 19:20:23 +0000 (20:20 +0100)
committerAlexander Larsson <alex@localhost.localdomain>
Thu, 2 Apr 2009 08:16:28 +0000 (10:16 +0200)
This is the same as background None in X, i.e. never draw the background.

gdk/gdkwindow.c

index a51e06d9483781a92548035f4ca2fefce6e1550f..5aeb9ef71d403addf61cb3e5d4740b8f6faaeda8 100644 (file)
@@ -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