Mercurial > emacs
diff src/ChangeLog @ 106559:bac7488df503
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.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sun, 13 Dec 2009 13:31:35 +0000 |
parents | 3d091f151696 |
children | e4fa191eaf50 |
line wrap: on
line diff
--- a/src/ChangeLog Sun Dec 13 13:16:17 2009 +0000 +++ b/src/ChangeLog Sun Dec 13 13:31:35 2009 +0000 @@ -1,5 +1,23 @@ 2009-12-13 Jan Djärv <jan.h.d@swipnet.se> + * 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. + * xftfont.c (QClcdfilter): New variable. (xftfont_open): Parse constant names for RGBA, HINT_STYLE and LCDFILTER. (syms_of_xftfont): Initialize QClcdfilter.