summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog11
-rw-r--r--src/macterm.h3
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
};