From 7c4f197866a4f83ad497a9ba48209918a4913d4f Mon Sep 17 00:00:00 2001
From: Johannes Hofmann <johannes.hofmann@gmx.de>
Date: Tue, 19 Apr 2005 18:22:23 +0000
Subject: fix cyan background problem (reported by S3)

fix cyan background problem (reported by S3)
---
 src/GsWidget.cxx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/GsWidget.cxx b/src/GsWidget.cxx
index 9e456b8..dc134d2 100644
--- a/src/GsWidget.cxx
+++ b/src/GsWidget.cxx
@@ -1,5 +1,5 @@
 //
-// "$Id: GsWidget.cxx,v 1.16 2005/02/28 20:01:39 hofmann Exp $"
+// "$Id: GsWidget.cxx,v 1.17 2005/04/19 20:22:23 hofmann Exp $"
 //
 // GsWidget routines.
 //
@@ -75,7 +75,9 @@ void GsWidget::setProps() {
 		  XA_STRING, 8, PropModeReplace,
 		  (unsigned char*) data, strlen(data));
     
-  snprintf(data, 512, "%s %d %d", "Color", 0, 65535);
+  snprintf(data, 512, "%s %d %d", "Color", 
+    (int) BlackPixel(fl_display, DefaultScreen(fl_display)),
+    (int) WhitePixel(fl_display, DefaultScreen(fl_display)));
     
   XChangeProperty(fl_display, xid, atoms[1],
 		  XA_STRING, 8, PropModeReplace,
-- 
cgit v1.2.3