diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-03-04 16:04:00 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-03-04 16:04:00 +0000 |
commit | b0404f9ffc8e0f16d2131274e2b572955bfa921b (patch) | |
tree | b1a1afcc51258ea55bcec22d96415327215bad28 /lwlib | |
parent | 9b2956e2a46ba2eb4ec42834f1bde03019a17e88 (diff) | |
download | emacs-b0404f9ffc8e0f16d2131274e2b572955bfa921b.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.c | 2 |
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; |