Commit 9b8d5165 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix a problem with disabled mouse movement events.

 src/keyboard.c (command_loop_1): Reset ignore_mouse_drag_p flag each
 iteration through the command loop.  Fixes a problem whereby mouse
 movements are ignored until the first mouse click.
parent c548f821
2012-08-14 Eli Zaretskii <eliz@gnu.org>
* keyboard.c (command_loop_1): Reset ignore_mouse_drag_p flag each
iteration through the command loop. Fixes a problem whereby mouse
movements are ignored until the first mouse click.
2012-08-14 Paul Eggert <eggert@cs.ucla.edu>
Use bool, not int, for Lisp booleans.
......
......@@ -1393,6 +1393,12 @@ command_loop_1 (void)
Vdeactivate_mark = Qnil;
/* Don't ignore mouse movements for more than a single command
loop. (This flag is set in xdisp.c whenever the tool bar is
resized, because the resize moves text up or down, and would
generate false mouse drag events if we don't ignore them.) */
ignore_mouse_drag_p = 0;
/* If minibuffer on and echo area in use,
wait a short time and redraw minibuffer. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment