[gtk+/rendering-cleanup: 135/142] x11: fix parent relative backgrounds
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 135/142] x11: fix parent relative backgrounds
- Date: Thu, 9 Sep 2010 16:15:38 +0000 (UTC)
commit 4bc8a8d61014d8885a36c81ebb0321b270a2f823
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 956478e..c158ba6 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -2690,7 +2690,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]