changeset 27988:817a3a4058a0

(make_shadow_gcs): Use the widget's colormap instead of the screen's default colormap.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 04 Mar 2000 16:04:00 +0000
parents ce9edc646960
children 3371488e8406
files lwlib/xlwmenu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/xlwmenu.c	Sat Mar 04 16:02:15 2000 +0000
+++ b/lwlib/xlwmenu.c	Sat Mar 04 16:04:00 2000 +0000
@@ -1426,7 +1426,7 @@
   unsigned long pm = 0;
   Display *dpy = XtDisplay ((Widget) mw);
   Screen *screen = XtScreen ((Widget) mw);
-  Colormap cmap = DefaultColormapOfScreen (screen);
+  Colormap cmap = mw->core.colormap;
   XColor topc, botc;
   int top_frobbed = 0, bottom_frobbed = 0;