emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/keyboard.c


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/keyboard.c
Date: Tue, 02 Apr 2002 10:53:14 -0500

Index: emacs/src/keyboard.c
diff -c emacs/src/keyboard.c:1.666 emacs/src/keyboard.c:1.667
*** emacs/src/keyboard.c:1.666  Mon Apr  1 08:42:32 2002
--- emacs/src/keyboard.c        Tue Apr  2 10:53:14 2002
***************
*** 2690,2695 ****
--- 2690,2702 ----
        last_input_char = c;
        Fcommand_execute (tem, Qnil, Fvector (1, &last_input_char), Qt);
  
+       if (CONSP (c) && EQ (XCAR (c), Qselect_window))
+       /* We stopped being idle for this event; undo that.  This
+          prevents automatic window selection (under
+          autoselect_window_p from acting as a real input event, for
+          example banishing the mouse under mouse-avoidance-mode.  */
+       timer_idleness_start_time = last_idle_start;
+ 
        /* Resume allowing input from any kboard, if that was true before.  */
        if (!was_locked)
        any_kboard_state ();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]