]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change in keyboard.c.
authorEli Zaretskii <eliz@gnu.org>
Tue, 14 Aug 2012 19:11:45 +0000 (22:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 14 Aug 2012 19:11:45 +0000 (22:11 +0300)
src/keyboard.c

index 73fedc1b35f6e91131c96f701fe093254a23069c..bf3ef9ed6dd1bed01585dffbe4ef8dcd06ea0682 100644 (file)
@@ -1393,11 +1393,14 @@ command_loop_1 (void)
 
       Vdeactivate_mark = Qnil;
 
+#if defined (HAVE_MOUSE) || defined (HAVE_GPM)
+
       /* 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;
+#endif
 
       /* If minibuffer on and echo area in use,
         wait a short time and redraw minibuffer.  */