comparison src/xterm.c @ 50327:f139cd7e1d62

(xt_action_hook): Unset dragging so the reset does take place.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 28 Mar 2003 14:45:30 +0000
parents d63b3eeca844
children 45e825260791
comparison
equal deleted inserted replaced
50326:d63b3eeca844 50327:f139cd7e1d62
3986 x_send_scroll_bar_event (window_being_scrolled, 3986 x_send_scroll_bar_event (window_being_scrolled,
3987 scroll_bar_end_scroll, 0, 0); 3987 scroll_bar_end_scroll, 0, 0);
3988 w = XWINDOW (window_being_scrolled); 3988 w = XWINDOW (window_being_scrolled);
3989 3989
3990 if (!NILP (XSCROLL_BAR (w->vertical_scroll_bar)->dragging)) 3990 if (!NILP (XSCROLL_BAR (w->vertical_scroll_bar)->dragging))
3991 /* The thumb size is incorrect while dragging: fix it. */ 3991 {
3992 set_vertical_scroll_bar (w); 3992 XSCROLL_BAR (w->vertical_scroll_bar)->dragging = Qnil;
3993 3993 /* The thumb size is incorrect while dragging: fix it. */
3994 XSCROLL_BAR (w->vertical_scroll_bar)->dragging = Qnil; 3994 set_vertical_scroll_bar (w);
3995 }
3995 window_being_scrolled = Qnil; 3996 window_being_scrolled = Qnil;
3996 last_scroll_bar_part = -1; 3997 last_scroll_bar_part = -1;
3997 3998
3998 /* Xt timeouts no longer needed. */ 3999 /* Xt timeouts no longer needed. */
3999 toolkit_scroll_bar_interaction = 0; 4000 toolkit_scroll_bar_interaction = 0;