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,v [EMACS_22_BASE]


From: Martin Rudalics
Subject: [Emacs-diffs] Changes to emacs/src/keyboard.c,v [EMACS_22_BASE]
Date: Sat, 06 Oct 2007 09:43:18 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Martin Rudalics <m061211>       07/10/06 09:43:17

Index: keyboard.c
===================================================================
RCS file: /sources/emacs/emacs/src/keyboard.c,v
retrieving revision 1.899.2.6
retrieving revision 1.899.2.7
diff -u -b -r1.899.2.6 -r1.899.2.7
--- keyboard.c  14 Sep 2007 06:21:10 -0000      1.899.2.6
+++ keyboard.c  6 Oct 2007 09:43:17 -0000       1.899.2.7
@@ -3995,6 +3995,12 @@
   /* Wait until there is input available.  */
   for (;;)
     {
+      /* Break loop if there's an unread command event.  Needed in
+        moused window autoselection which uses a timer to insert such
+        events.  */
+      if (CONSP (Vunread_command_events))
+       break;
+      
       if (kbd_fetch_ptr != kbd_store_ptr)
        break;
 #ifdef HAVE_MOUSE




reply via email to

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