[gtk+/rendering-cleanup: 134/140] x11: fix parent relative backgrounds



commit 498e44703f932c3eecd9def5553ff03171632218
Author: Benjamin Otte <otte redhat com>
Date:   Sun Aug 29 11:54:10 2010 +0200

    x11: fix parent relative backgrounds
    
    We were setting None, not ParentRelative. That is obviously wrong.

 gdk/x11/gdkwindow-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 5e1c9b5..f822251 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -2698,7 +2698,7 @@ gdk_window_x11_set_background (GdkWindow      *window,
   if (pattern == NULL)
     {
       XSetWindowBackgroundPixmap (GDK_WINDOW_XDISPLAY (window),
-                                  GDK_WINDOW_XID (window), None);
+                                  GDK_WINDOW_XID (window), ParentRelative);
       return;
     }
 



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