diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2007-02-24 02:43:20 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2007-02-24 02:43:20 +0000 |
commit | cd2e39625aad9c039347eb048fb41ad7b8ec4b2c (patch) | |
tree | a1fc834b7e204b30b3759cd6bd9f71345a6b2883 | |
parent | 4d5724e587b5a9f5b91a4b2976e81996e9980fe2 (diff) | |
download | emacs-cd2e39625aad9c039347eb048fb41ad7b8ec4b2c.tar.gz |
(struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: New
member `min_handle'.
-rw-r--r-- | src/ChangeLog | 11 | ||||
-rw-r--r-- | src/macterm.h | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 303b53a9b50..c7f40ce8100 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,14 @@ +2007-02-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag) + (x_set_toolkit_scroll_bar_thumb): Add bar->min_handle as margin to + scroll bar handle size in order to avoid `scroll backward' problem. + (x_scroll_bar_create, XTset_vertical_scroll_bar) + [USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle. + + * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: New + member `min_handle'. + 2007-02-23 Kim F. Storm <storm@cua.dk> * print.c (print): Reset print_number_index if Vprint_number_table diff --git a/src/macterm.h b/src/macterm.h index d56287c348c..3d0b41f6efe 100644 --- a/src/macterm.h +++ b/src/macterm.h @@ -436,6 +436,9 @@ struct scroll_bar { /* The position and size of the scroll bar handle track area in pixels, relative to the frame. */ Lisp_Object track_top, track_height; + + /* Minimum length of the scroll bar handle, in pixels. */ + Lisp_Object min_handle; #endif }; |