From: Gerd Moellmann Date: Sat, 4 Mar 2000 16:04:00 +0000 (+0000) Subject: (make_shadow_gcs): Use the widget's colormap instead X-Git-Tag: emacs-pretest-21.0.90~4772 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b0404f9ffc8e0f16d2131274e2b572955bfa921b;p=emacs.git (make_shadow_gcs): Use the widget's colormap instead of the screen's default colormap. --- 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;