(struct scroll_bar): New member `redraw_needed_p'.

This commit is contained in:
YAMAMOTO Mitsuharu 2008-01-21 09:59:58 +00:00
parent 1ec6ded987
commit 223b3d1da9
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2008-01-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.c (x_scroll_bar_create): Initialize bar->redraw_needed_p.
(XTset_vertical_scroll_bar): Redraw scroll bar if bar->redraw_needed_p
is set even without positional changes.
(x_scroll_bar_clear): Set bar->redraw_needed_p.
* macterm.h (struct scroll_bar): New member `redraw_needed_p'.
2008-01-19 Kenichi Handa <handa@m17n.org>
* coding.c (detect_coding_iso2022): New arg latin_extra_code_state.

View file

@ -435,6 +435,9 @@ struct scroll_bar {
being dragged, this is Qnil. */
Lisp_Object dragging;
/* t if redraw needed in the next XTset_vertical_scroll_bar call. */
Lisp_Object redraw_needed_p;
#ifdef USE_TOOLKIT_SCROLL_BARS
/* The position and size of the scroll bar handle track area in
pixels, relative to the frame. */