Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
218:c9f226976f56 | 219:262b8bb4a523 |
---|---|
689 | 689 |
690 static void | 690 static void |
691 make_trough_pixel (XlwScrollBarWidget w) | 691 make_trough_pixel (XlwScrollBarWidget w) |
692 { | 692 { |
693 Display *dpy = XtDisplay((Widget) w); | 693 Display *dpy = XtDisplay((Widget) w); |
694 Colormap cmap = DefaultColormapOfScreen (XtScreen ((Widget) w)); | 694 Colormap cmap = w->core.colormap; |
695 XColor troughC; | 695 XColor troughC; |
696 | 696 |
697 if (w->sb.troughColor == (Pixel)~0) w->sb.troughColor = w->core.background_pixel; | 697 if (w->sb.troughColor == (Pixel)~0) w->sb.troughColor = w->core.background_pixel; |
698 | 698 |
699 if (w->sb.troughColor == w->core.background_pixel) | 699 if (w->sb.troughColor == w->core.background_pixel) |