aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index b761eaf4d11..27d98003565 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6087,17 +6087,19 @@ x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar)
6087 XtSetArg (av[ac], XmNincrement, 1); ++ac; 6087 XtSetArg (av[ac], XmNincrement, 1); ++ac;
6088 XtSetArg (av[ac], XmNpageIncrement, 1); ++ac; 6088 XtSetArg (av[ac], XmNpageIncrement, 1); ++ac;
6089 6089
6090 /* Note: "background" is the thumb color, and "trough" is the color behind
6091 everything. */
6090 pixel = f->output_data.x->scroll_bar_foreground_pixel; 6092 pixel = f->output_data.x->scroll_bar_foreground_pixel;
6091 if (pixel != -1) 6093 if (pixel != -1)
6092 { 6094 {
6093 XtSetArg (av[ac], XmNforeground, pixel); 6095 XtSetArg (av[ac], XmNbackground, pixel);
6094 ++ac; 6096 ++ac;
6095 } 6097 }
6096 6098
6097 pixel = f->output_data.x->scroll_bar_background_pixel; 6099 pixel = f->output_data.x->scroll_bar_background_pixel;
6098 if (pixel != -1) 6100 if (pixel != -1)
6099 { 6101 {
6100 XtSetArg (av[ac], XmNbackground, pixel); 6102 XtSetArg (av[ac], XmNtroughColor, pixel);
6101 ++ac; 6103 ++ac;
6102 } 6104 }
6103 6105