Mercurial > emacs
changeset 2953:5440f00480e6
* xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
that feature requires more support to work correctly.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 22 May 1993 09:13:57 +0000 |
parents | 67fb1010352a |
children | 0dfd1927264e |
files | src/xterm.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Sat May 22 08:30:16 1993 +0000 +++ b/src/xterm.c Sat May 22 09:13:57 1993 +0000 @@ -2295,12 +2295,16 @@ emacs_event->part = scroll_bar_handle; else emacs_event->part = scroll_bar_below_handle; - + + /* Just because the user has clicked on the handle doesn't mean + they want to drag it. */ +#if 0 /* If the user has just clicked on the handle, record where they're holding it. */ if (event->type == ButtonPress && emacs_event->part == scroll_bar_handle) XSET (bar->dragging, Lisp_Int, y - XINT (bar->start)); +#endif /* If the user has released the handle, set it to its final position. */ if (event->type == ButtonRelease