changeset 7599:880fcef68f73

(x_set_background_color): Set scroll bar backgrounds.
author Karl Heuer <kwzh@gnu.org>
date Sat, 21 May 1994 01:11:51 +0000
parents cdde619af40c
children 8bf07ff6a929
files src/xfns.c
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Fri May 20 23:56:40 1994 +0000
+++ b/src/xfns.c	Sat May 21 01:11:51 1994 +0000
@@ -730,7 +730,14 @@
 		      f->display.x->background_pixel);
       XSetWindowBackground (x_current_display, FRAME_X_WINDOW (f),
 			    f->display.x->background_pixel);
-
+      {
+	Lisp_Object bar;
+	for (bar = FRAME_SCROLL_BARS (f); !NILP (bar);
+	     bar = XSCROLL_BAR (bar)->next)
+	  XSetWindowBackground (x_current_display,
+				SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)),
+				f->display.x->background_pixel);
+      }
 #else
       temp = XMakeTile (f->display.x->background_pixel);
       XChangeBackground (FRAME_X_WINDOW (f), temp);