[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7172ba7: Fix Bug#23207
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] master 7172ba7: Fix Bug#23207 |
Date: |
Sun, 10 Apr 2016 08:07:23 +0000 |
branch: master
commit 7172ba7f7f5b1a91357ea727ab188db3ccc99a77
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
Fix Bug#23207
* src/keyboard.c (read_char): Resume idle timers in case of
dbus-event, file-notify-event and config-changed-event.
Reported by Johan Claesson <address@hidden>. (Bug#23207)
---
src/keyboard.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/keyboard.c b/src/keyboard.c
index 6c87add..92d5c30 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2834,7 +2834,16 @@ read_char (int commandflag, Lisp_Object map,
last_input_event = c;
call4 (Qcommand_execute, tem, Qnil, Fvector (1, &last_input_event), Qt);
- if (CONSP (c) && EQ (XCAR (c), Qselect_window) && !end_time)
+ if (CONSP (c)
+ && (EQ (XCAR (c), Qselect_window)
+#ifdef HAVE_DBUS
+ || EQ (XCAR (c), Qdbus_event)
+#endif
+#ifdef USE_FILE_NOTIFY
+ || EQ (XCAR (c), Qfile_notify)
+#endif
+ || EQ (XCAR (c), Qconfig_changed_event))
+ && !end_time)
/* We stopped being idle for this event; undo that. This
prevents automatic window selection (under
mouse-autoselect-window) from acting as a real input event, for
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 7172ba7: Fix Bug#23207,
Michael Albinus <=