Mercurial > hg > xemacs-beta
diff lwlib/xlwscrollbar.c @ 219:262b8bb4a523 r20-4b8
Import from CVS: tag r20-4b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:09:35 +0200 |
parents | e121b013d1f0 |
children | f220cc83d72e |
line wrap: on
line diff
--- a/lwlib/xlwscrollbar.c Mon Aug 13 10:08:36 2007 +0200 +++ b/lwlib/xlwscrollbar.c Mon Aug 13 10:09:35 2007 +0200 @@ -691,7 +691,7 @@ make_trough_pixel (XlwScrollBarWidget w) { Display *dpy = XtDisplay((Widget) w); - Colormap cmap = DefaultColormapOfScreen (XtScreen ((Widget) w)); + Colormap cmap = w->core.colormap; XColor troughC; if (w->sb.troughColor == (Pixel)~0) w->sb.troughColor = w->core.background_pixel;