summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-09-03 13:35:47 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-09-03 13:35:47 +0400
commitd1fc6c21a839c98b0285e7af2537f114b13aa835 (patch)
treeaba3d3e9f3f9e68e031a7c8c827aed878908f7e9 /src/xterm.h
parent0ce9f6de648119922179ac9faaecc9445a5eade6 (diff)
downloademacs-d1fc6c21a839c98b0285e7af2537f114b13aa835.tar.gz
* xterm.h (struct scroll_bar): Prefer int to Lisp_Object
for 'dragging' member. * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): * xterm.c (xt_action_hook, xm_scroll_callback, xg_scroll_callback) (xg_end_scroll_callback, xaw_jump_callback, xaw_scroll_callback) (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create) (x_scroll_bar_set_handle, XTset_vertical_scroll_bar) (x_scroll_bar_handle_click, x_scroll_bar_note_movement) (x_scroll_bar_report_motion): Related users changed.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 39e40002d4e..c1a9873a381 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -806,8 +806,8 @@ struct scroll_bar
/* If the scroll bar handle is currently being dragged by the user,
this is the number of pixels from the top of the handle to the
place where the user grabbed it. If the handle isn't currently
- being dragged, this is Qnil. */
- Lisp_Object dragging;
+ being dragged, this is -1. */
+ int dragging;
/* 1 if the background of the fringe that is adjacent to a scroll
bar is extended to the gap between the fringe and the bar. */