From: YAMAMOTO Mitsuharu Date: Sat, 24 Feb 2007 02:43:20 +0000 (+0000) Subject: (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: New X-Git-Tag: emacs-pretest-22.0.95~138 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cd2e39625aad9c039347eb048fb41ad7b8ec4b2c;p=emacs.git (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: New member `min_handle'. --- 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 + + * 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 * 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 };