# HG changeset patch # User Karl Heuer # Date 800695649 0 # Node ID 7c2d57ac784f5348739ebe60af4e4332e294ba95 # Parent 7e5af94d9527cfb8581b656de391f924bbd1be4b (syms_of_keyboard): Always define track-mouse. (do_mouse_tracking): Always declare this var. diff -r 7e5af94d9527 -r 7c2d57ac784f src/keyboard.c --- a/src/keyboard.c Tue May 16 21:58:47 1995 +0000 +++ b/src/keyboard.c Wed May 17 07:27:29 1995 +0000 @@ -385,12 +385,12 @@ dequeuing functions? Such a flag could be screwed up by interrupts at inopportune times. */ -#ifdef HAVE_MOUSE /* If this flag is a frame, we check mouse_moved to see when the mouse moves, and motion events will appear in the input stream. Otherwise, mouse motion is ignored. */ static Lisp_Object do_mouse_tracking; +#ifdef HAVE_MOUSE /* The window system handling code should set this if the mouse has moved since the last call to the mouse_position_hook. Calling that hook should clear this. Code assumes that if this is set, it can @@ -7099,10 +7099,8 @@ and the minor mode maps regardless of `overriding-local-map'."); Voverriding_local_map_menu_flag = Qnil; -#ifdef HAVE_MOUSE DEFVAR_LISP ("track-mouse", &do_mouse_tracking, - "*Non-nil means generate motion events for mouse motion."); -#endif + "*Non-nil means generate motion events for mouse motion."); DEFVAR_KBOARD ("system-key-alist", Vsystem_key_alist, "Alist of system-specific X windows key symbols.\n\