From 9d0a235ab25062a5a0c66a292cfc54366bb75f74 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 14 May 2012 09:05:03 +0200 Subject: [PATCH] * keyboard.c (kbd_buffer_get_event): Read special events also in batch mode. (Bug#11415) --- src/ChangeLog | 5 +++++ src/keyboard.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index c5083cd6e46..8b29c10c38d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-05-14 Michael Albinus + + * keyboard.c (kbd_buffer_get_event): Read special events also in + batch mode. (Bug#11415) + 2012-05-12 Glenn Morris * ns.mk: Update for ns_appbindir no longer having trailing "/". diff --git a/src/keyboard.c b/src/keyboard.c index fcd5c0e6837..289dc300835 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3803,6 +3803,7 @@ kbd_buffer_get_event (KBOARD **kbp, } #endif /* subprocesses */ +#ifndef HAVE_DBUS /* We want to read D-Bus events in batch mode. */ if (noninteractive /* In case we are running as a daemon, only do this before detaching from the terminal. */ @@ -3813,6 +3814,7 @@ kbd_buffer_get_event (KBOARD **kbp, *kbp = current_kboard; return obj; } +#endif /* ! HAVE_DBUS */ /* Wait until there is input available. */ for (;;) -- 2.39.2