comparison src/xfns.c @ 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 5b784d881c0f
children be3423efbdce
comparison
equal deleted inserted replaced
7598:cdde619af40c 7599:880fcef68f73
728 f->display.x->background_pixel); 728 f->display.x->background_pixel);
729 XSetForeground (x_current_display, f->display.x->cursor_gc, 729 XSetForeground (x_current_display, f->display.x->cursor_gc,
730 f->display.x->background_pixel); 730 f->display.x->background_pixel);
731 XSetWindowBackground (x_current_display, FRAME_X_WINDOW (f), 731 XSetWindowBackground (x_current_display, FRAME_X_WINDOW (f),
732 f->display.x->background_pixel); 732 f->display.x->background_pixel);
733 733 {
734 Lisp_Object bar;
735 for (bar = FRAME_SCROLL_BARS (f); !NILP (bar);
736 bar = XSCROLL_BAR (bar)->next)
737 XSetWindowBackground (x_current_display,
738 SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)),
739 f->display.x->background_pixel);
740 }
734 #else 741 #else
735 temp = XMakeTile (f->display.x->background_pixel); 742 temp = XMakeTile (f->display.x->background_pixel);
736 XChangeBackground (FRAME_X_WINDOW (f), temp); 743 XChangeBackground (FRAME_X_WINDOW (f), temp);
737 XFreePixmap (temp); 744 XFreePixmap (temp);
738 #endif /* not HAVE_X11 */ 745 #endif /* not HAVE_X11 */