diff options
| author | YAMAMOTO Mitsuharu | 2008-01-21 09:59:58 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2008-01-21 09:59:58 +0000 |
| commit | 223b3d1da9d4d73216b3e58f4e8c3d6b2e56739a (patch) | |
| tree | c81c7f95e2272821fb592acf155f1b00e2acec37 /src | |
| parent | 1ec6ded98799401fdf9535bb6cd3510dfee4d76a (diff) | |
| download | emacs-223b3d1da9d4d73216b3e58f4e8c3d6b2e56739a.tar.gz emacs-223b3d1da9d4d73216b3e58f4e8c3d6b2e56739a.zip | |
(struct scroll_bar): New member `redraw_needed_p'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/macterm.h | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1ec2ad7aa85..1c4b08d24d7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2008-01-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * macterm.c (x_scroll_bar_create): Initialize bar->redraw_needed_p. | ||
| 4 | (XTset_vertical_scroll_bar): Redraw scroll bar if bar->redraw_needed_p | ||
| 5 | is set even without positional changes. | ||
| 6 | (x_scroll_bar_clear): Set bar->redraw_needed_p. | ||
| 7 | |||
| 8 | * macterm.h (struct scroll_bar): New member `redraw_needed_p'. | ||
| 9 | |||
| 1 | 2008-01-19 Kenichi Handa <handa@m17n.org> | 10 | 2008-01-19 Kenichi Handa <handa@m17n.org> |
| 2 | 11 | ||
| 3 | * coding.c (detect_coding_iso2022): New arg latin_extra_code_state. | 12 | * coding.c (detect_coding_iso2022): New arg latin_extra_code_state. |
diff --git a/src/macterm.h b/src/macterm.h index e596a148dcd..69d987b0cdc 100644 --- a/src/macterm.h +++ b/src/macterm.h | |||
| @@ -435,6 +435,9 @@ struct scroll_bar { | |||
| 435 | being dragged, this is Qnil. */ | 435 | being dragged, this is Qnil. */ |
| 436 | Lisp_Object dragging; | 436 | Lisp_Object dragging; |
| 437 | 437 | ||
| 438 | /* t if redraw needed in the next XTset_vertical_scroll_bar call. */ | ||
| 439 | Lisp_Object redraw_needed_p; | ||
| 440 | |||
| 438 | #ifdef USE_TOOLKIT_SCROLL_BARS | 441 | #ifdef USE_TOOLKIT_SCROLL_BARS |
| 439 | /* The position and size of the scroll bar handle track area in | 442 | /* The position and size of the scroll bar handle track area in |
| 440 | pixels, relative to the frame. */ | 443 | pixels, relative to the frame. */ |