Commit b0404f9f authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(make_shadow_gcs): Use the widget's colormap instead

of the screen's default colormap.
parent 9b2956e2
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment