aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2009-12-13 13:31:35 +0000
committerJan Djärv2009-12-13 13:31:35 +0000
commite5f0bc9ada3729749b83cfa246b39dd0d6fceca0 (patch)
tree4b64bb983b115353fb9b5be07c06cbfa361e3204 /src/ChangeLog
parent223e5fc656a6c8a95e5aac334e8c7b82cc9d2a4b (diff)
downloademacs-e5f0bc9ada3729749b83cfa246b39dd0d6fceca0.tar.gz
emacs-e5f0bc9ada3729749b83cfa246b39dd0d6fceca0.zip
Bug 5177: Scroll bar thumb did not move when scrolling with mouse wheel.
* xterm.c (xg_scroll_callback): Parameter list changed, use parameter GtkScrollType to determine scroll/line/page. Only allow dragging if a button < 4 is grabbed (bug #5177). (xg_end_scroll_callback): New function. (x_create_toolkit_scroll_bar): Pass xg_end_scroll_callback to xg_create_scroll_bar. * gtkutil.c (xg_gtk_scroll_destroy): Remove XG_LAST_SB_DATA handling. (scroll_end_callback): Remove. (xg_create_scroll_bar): Add parameter end_callback, bind it to button-release-event. Replace value-changed event with change-value, bug #5177, (xg_event_is_for_scrollbar): Only return true if button is less than 4, bug #5177. * gtkutil.h (XG_LAST_SB_DATA): Remove. (xg_create_scroll_bar): Add GCallback end_callback.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 348300ee2da..bf71cc3ea32 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,23 @@
12009-12-13 Jan Djärv <jan.h.d@swipnet.se> 12009-12-13 Jan Djärv <jan.h.d@swipnet.se>
2 2
3 * xterm.c (xg_scroll_callback): Parameter list changed,
4 use parameter GtkScrollType to determine scroll/line/page.
5 Only allow dragging if a button < 4 is grabbed (bug #5177).
6 (xg_end_scroll_callback): New function.
7 (x_create_toolkit_scroll_bar): Pass xg_end_scroll_callback to
8 xg_create_scroll_bar.
9
10 * gtkutil.c (xg_gtk_scroll_destroy): Remove XG_LAST_SB_DATA handling.
11 (scroll_end_callback): Remove.
12 (xg_create_scroll_bar): Add parameter end_callback, bind it to
13 button-release-event. Replace value-changed event with change-value,
14 bug #5177,
15 (xg_event_is_for_scrollbar): Only return true if button is less than 4,
16 bug #5177.
17
18 * gtkutil.h (XG_LAST_SB_DATA): Remove.
19 (xg_create_scroll_bar): Add GCallback end_callback.
20
3 * xftfont.c (QClcdfilter): New variable. 21 * xftfont.c (QClcdfilter): New variable.
4 (xftfont_open): Parse constant names for RGBA, HINT_STYLE and LCDFILTER. 22 (xftfont_open): Parse constant names for RGBA, HINT_STYLE and LCDFILTER.
5 (syms_of_xftfont): Initialize QClcdfilter. 23 (syms_of_xftfont): Initialize QClcdfilter.