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


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/keyboard.c,v
Date: Fri, 12 Sep 2008 04:11:04 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        08/09/12 04:11:03

Index: keyboard.c
===================================================================
RCS file: /sources/emacs/emacs/src/keyboard.c,v
retrieving revision 1.973
retrieving revision 1.974
diff -u -b -r1.973 -r1.974
--- keyboard.c  9 Sep 2008 18:16:48 -0000       1.973
+++ keyboard.c  12 Sep 2008 04:11:02 -0000      1.974
@@ -7110,6 +7110,9 @@
       while (gpm = Gpm_GetEvent (&event), gpm == 1) {
          nread += handle_one_term_event (tty, &event, &hold_quit);
       }
+      if (gpm < 0)
+       /* Presumably the GPM daemon has closed the connection.  */
+       close_gpm ();
       if (hold_quit.kind != NO_EVENT)
          kbd_buffer_store_event (&hold_quit);
       if (nread)




reply via email to

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