aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-05-17 07:27:29 +0000
committerKarl Heuer1995-05-17 07:27:29 +0000
commita53c766630d99e340eb072c50288932126c09c3e (patch)
tree2394ceaf413020b345124c6bcc776b2eb7be16c4 /src
parent977b12781d34c938851f0b3b4bdbea0e5bf6709d (diff)
downloademacs-a53c766630d99e340eb072c50288932126c09c3e.tar.gz
emacs-a53c766630d99e340eb072c50288932126c09c3e.zip
(syms_of_keyboard): Always define track-mouse.
(do_mouse_tracking): Always declare this var.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 39ecabb2263..45c5c46be2f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -385,12 +385,12 @@ static volatile struct input_event *kbd_store_ptr;
385 dequeuing functions? Such a flag could be screwed up by interrupts 385 dequeuing functions? Such a flag could be screwed up by interrupts
386 at inopportune times. */ 386 at inopportune times. */
387 387
388#ifdef HAVE_MOUSE
389/* If this flag is a frame, we check mouse_moved to see when the 388/* If this flag is a frame, we check mouse_moved to see when the
390 mouse moves, and motion events will appear in the input stream. 389 mouse moves, and motion events will appear in the input stream.
391 Otherwise, mouse motion is ignored. */ 390 Otherwise, mouse motion is ignored. */
392static Lisp_Object do_mouse_tracking; 391static Lisp_Object do_mouse_tracking;
393 392
393#ifdef HAVE_MOUSE
394/* The window system handling code should set this if the mouse has 394/* The window system handling code should set this if the mouse has
395 moved since the last call to the mouse_position_hook. Calling that 395 moved since the last call to the mouse_position_hook. Calling that
396 hook should clear this. Code assumes that if this is set, it can 396 hook should clear this. Code assumes that if this is set, it can
@@ -7099,10 +7099,8 @@ Otherwise, the menu bar continues to reflect the buffer's local map\n\
7099and the minor mode maps regardless of `overriding-local-map'."); 7099and the minor mode maps regardless of `overriding-local-map'.");
7100 Voverriding_local_map_menu_flag = Qnil; 7100 Voverriding_local_map_menu_flag = Qnil;
7101 7101
7102#ifdef HAVE_MOUSE
7103 DEFVAR_LISP ("track-mouse", &do_mouse_tracking, 7102 DEFVAR_LISP ("track-mouse", &do_mouse_tracking,
7104 "*Non-nil means generate motion events for mouse motion."); 7103 "*Non-nil means generate motion events for mouse motion.");
7105#endif
7106 7104
7107 DEFVAR_KBOARD ("system-key-alist", Vsystem_key_alist, 7105 DEFVAR_KBOARD ("system-key-alist", Vsystem_key_alist,
7108 "Alist of system-specific X windows key symbols.\n\ 7106 "Alist of system-specific X windows key symbols.\n\