summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-02-05 20:20:23 +0100
committerAlexander Larsson <alex@localhost.localdomain>2009-04-02 10:16:28 +0200
commit5ccc8b2ff1ec7c53e69067656032eeef1c1b832f (patch)
treec718195be81998a2169b60fbe641baf038280950 /gdk
parent96bc993786fbb364c1058263b6f49279ddc90c62 (diff)
downloadgtk+-5ccc8b2ff1ec7c53e69067656032eeef1c1b832f.tar.gz
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.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index a51e06d948..5aeb9ef71d 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