aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2015-06-03 15:21:08 +0900
committerYAMAMOTO Mitsuharu2015-06-03 15:22:56 +0900
commite6d8f700571967f69e61692ac76c98e24db52751 (patch)
tree572e86aee3b096cb690800074a9ac01494a8493c /src
parent9204b0c622b610493d2457af16cdcdd88331744c (diff)
downloademacs-e6d8f700571967f69e61692ac76c98e24db52751.tar.gz
emacs-e6d8f700571967f69e61692ac76c98e24db52751.zip
Undo previous changes in non-toolkit scroll bar drawing.
* src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose) [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 17c1a645d98..25c0d878ecc 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6409,7 +6409,7 @@ x_scroll_bar_set_handle (struct scroll_bar *bar, int start, int end,
6409 f->output_data.x->scroll_bar_foreground_pixel); 6409 f->output_data.x->scroll_bar_foreground_pixel);
6410 6410
6411 /* Draw the handle itself. */ 6411 /* Draw the handle itself. */
6412 x_fill_rectangle (f, gc, 6412 XFillRectangle (FRAME_X_DISPLAY (f), w, gc,
6413 /* x, y, width, height */ 6413 /* x, y, width, height */
6414 VERTICAL_SCROLL_BAR_LEFT_BORDER, 6414 VERTICAL_SCROLL_BAR_LEFT_BORDER,
6415 VERTICAL_SCROLL_BAR_TOP_BORDER + start, 6415 VERTICAL_SCROLL_BAR_TOP_BORDER + start,
@@ -6884,7 +6884,7 @@ x_scroll_bar_expose (struct scroll_bar *bar, const XEvent *event)
6884 f->output_data.x->scroll_bar_foreground_pixel); 6884 f->output_data.x->scroll_bar_foreground_pixel);
6885 6885
6886 /* Draw a one-pixel border just inside the edges of the scroll bar. */ 6886 /* Draw a one-pixel border just inside the edges of the scroll bar. */
6887 x_draw_rectangle (f, gc, 6887 XDrawRectangle (FRAME_X_DISPLAY (f), w, gc,
6888 /* x, y, width, height */ 6888 /* x, y, width, height */
6889 0, 0, bar->width - 1, bar->height - 1); 6889 0, 0, bar->width - 1, bar->height - 1);
6890 6890