aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 80801cbd169..2be24b4f007 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1952,10 +1952,9 @@ static Lisp_Object
1952tracking_off (old_value) 1952tracking_off (old_value)
1953 Lisp_Object old_value; 1953 Lisp_Object old_value;
1954{ 1954{
1955 if (! XFASTINT (old_value)) 1955 do_mouse_tracking = old_value;
1956 if (NILP (old_value))
1956 { 1957 {
1957 do_mouse_tracking = Qnil;
1958
1959 /* Redisplay may have been preempted because there was input 1958 /* Redisplay may have been preempted because there was input
1960 available, and it assumes it will be called again after the 1959 available, and it assumes it will be called again after the
1961 input has been processed. If the only input available was 1960 input has been processed. If the only input available was
@@ -6400,7 +6399,7 @@ and the minor mode maps regardless of `overriding-local-map'.");
6400 Voverriding_local_map_menu_flag = Qnil; 6399 Voverriding_local_map_menu_flag = Qnil;
6401 6400
6402#ifdef HAVE_MOUSE 6401#ifdef HAVE_MOUSE
6403 DEFVAR_BOOL ("track-mouse", &do_mouse_tracking, 6402 DEFVAR_LISP ("track-mouse", &do_mouse_tracking,
6404 "*Non-nil means generate motion events for mouse motion."); 6403 "*Non-nil means generate motion events for mouse motion.");
6405#endif 6404#endif
6406 6405