aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c9
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);