diff options
| author | Karl Heuer | 1994-05-21 01:11:51 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-05-21 01:11:51 +0000 |
| commit | d8acee5f65458ad69657c61b7a4b8fea9ba237fe (patch) | |
| tree | 13708d65c7bebe053c23da820a53f41e40aa4a05 | |
| parent | 8197b8bf929f5af8d0ffd26a7578e5525be82eed (diff) | |
| download | emacs-d8acee5f65458ad69657c61b7a4b8fea9ba237fe.tar.gz emacs-d8acee5f65458ad69657c61b7a4b8fea9ba237fe.zip | |
(x_set_background_color): Set scroll bar backgrounds.
| -rw-r--r-- | src/xfns.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 5fc2ac650ca..6f3217f84b7 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -730,7 +730,14 @@ x_set_background_color (f, arg, oldval) | |||
| 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); |