summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-03-04 16:04:00 +0000
committerGerd Moellmann <gerd@gnu.org>2000-03-04 16:04:00 +0000
commitbb7170321e2e6f2b9b263d51310a5fb283052710 (patch)
treeb145957e41be2ee5eff70cc0d876c33ea87b0f0e /lwlib
parent4d7744ec96c8240952da2ce1abb60f971b6e3a6f (diff)
downloademacs-bb7170321e2e6f2b9b263d51310a5fb283052710.tar.gz
(make_shadow_gcs): Use the widget's colormap instead
of the screen's default colormap.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/xlwmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 11dfc2e58db..15f25371619 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -1426,7 +1426,7 @@ make_shadow_gcs (mw)
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;