aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 5baa29a8466..b49c9d6893a 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6303,17 +6303,19 @@ x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar)
6303 XtSetArg (av[ac], XmNincrement, 1); ++ac; 6303 XtSetArg (av[ac], XmNincrement, 1); ++ac;
6304 XtSetArg (av[ac], XmNpageIncrement, 1); ++ac; 6304 XtSetArg (av[ac], XmNpageIncrement, 1); ++ac;
6305 6305
6306 /* Note: "background" is the thumb color, and "trough" is the color behind
6307 everything. */
6306 pixel = f->output_data.x->scroll_bar_foreground_pixel; 6308 pixel = f->output_data.x->scroll_bar_foreground_pixel;
6307 if (pixel != -1) 6309 if (pixel != -1)
6308 { 6310 {
6309 XtSetArg (av[ac], XmNforeground, pixel); 6311 XtSetArg (av[ac], XmNbackground, pixel);
6310 ++ac; 6312 ++ac;
6311 } 6313 }
6312 6314
6313 pixel = f->output_data.x->scroll_bar_background_pixel; 6315 pixel = f->output_data.x->scroll_bar_background_pixel;
6314 if (pixel != -1) 6316 if (pixel != -1)
6315 { 6317 {
6316 XtSetArg (av[ac], XmNbackground, pixel); 6318 XtSetArg (av[ac], XmNtroughColor, pixel);
6317 ++ac; 6319 ++ac;
6318 } 6320 }
6319 6321