# HG changeset patch # User Gerd Moellmann # Date 952185840 0 # Node ID 817a3a4058a0e9d74e98611868310eb6ff6dd59c # Parent ce9edc64696018c71753f63e60eca6fb80a6a71a (make_shadow_gcs): Use the widget's colormap instead of the screen's default colormap. diff -r ce9edc646960 -r 817a3a4058a0 lwlib/xlwmenu.c --- 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;