summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-05-23 11:25:20 -0700
committerGlenn Morris <rgm@gnu.org>2015-05-23 11:25:20 -0700
commit238e8b6629060a65a801c97f8cbae108f6635427 (patch)
tree627af6ed6025caefa379ae2f529ceec9609aa176 /src/xterm.c
parent49fa1919e9be863f22ec8042704bf3436d0ec26d (diff)
downloademacs-238e8b6629060a65a801c97f8cbae108f6635427.tar.gz
Fix --without-toolkit-scroll-bars builds.
* src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]: Add new argument to x_clear_area1. (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: Update x_clear_area arguments.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/xterm.c b/src/xterm.c
index c793a5111f7..4f5dfed9ae8 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6401,7 +6401,7 @@ x_scroll_bar_set_handle (struct scroll_bar *bar, int start, int end,
x_clear_area1 (FRAME_X_DISPLAY (f), w,
VERTICAL_SCROLL_BAR_LEFT_BORDER,
VERTICAL_SCROLL_BAR_TOP_BORDER,
- inside_width, start);
+ inside_width, start, False);
/* Change to proper foreground color if one is specified. */
if (f->output_data.x->scroll_bar_foreground_pixel != -1)
@@ -6426,7 +6426,7 @@ x_scroll_bar_set_handle (struct scroll_bar *bar, int start, int end,
x_clear_area1 (FRAME_X_DISPLAY (f), w,
VERTICAL_SCROLL_BAR_LEFT_BORDER,
VERTICAL_SCROLL_BAR_TOP_BORDER + end,
- inside_width, inside_height - end);
+ inside_width, inside_height - end, False);
}
unblock_input ();
@@ -6660,8 +6660,7 @@ XTset_horizontal_scroll_bar (struct window *w, int portion, int whole, int posit
int area_height = WINDOW_CONFIG_SCROLL_BAR_HEIGHT (w);
int rest = area_height - height;
if (rest > 0 && width > 0)
- x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
- left, top, width, rest);
+ x_clear_area (f, left, top, width, rest);
}
/* Move/size the scroll bar window. */