Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
485db0ba
Commit
485db0ba
authored
Aug 15, 2009
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* keyboard.c (readable_events): Call xd_pending_messages.
parent
f573d588
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
src/ChangeLog
src/ChangeLog
+9
-0
src/keyboard.c
src/keyboard.c
+8
-2
No files found.
src/ChangeLog
View file @
485db0ba
2009-08-15 Michael Albinus <michael.albinus@gmx.de>
* dbusbind.c (xd_get_dispatch_status, xd_pending_messages): New
functions.
* lisp.h (xd_pending_messages): Declare.
* keyboard.c (readable_events): Call xd_pending_messages.
2009-08-15 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (pop_it): Don't pop into a display vector (Bug#4131).
...
...
src/keyboard.c
View file @
485db0ba
...
...
@@ -3660,6 +3660,12 @@ static int
readable_events (flags)
int flags;
{
#ifdef HAVE_DBUS
/* Check whether a D-Bus message has arrived. */
if (xd_pending_messages () > 0)
return 1;
#endif /* HAVE_DBUS */
if (flags & READABLE_EVENTS_DO_TIMERS_NOW)
timer_check (1);
...
...
@@ -6982,7 +6988,7 @@ gobble_input (expected)
int expected;
{
#ifdef HAVE_DBUS
/*
Check whether a
D-Bus message
has arrived
. */
/*
Read
D-Bus message
s
. */
xd_read_queued_messages ();
#endif /* HAVE_DBUS */
...
...
@@ -7338,7 +7344,7 @@ tty_read_avail_input (struct terminal *terminal,
{
struct coding_system *coding = TERMINAL_KEYBOARD_CODING (terminal);
int from;
/* Decode the key sequence except for those with meta
modifiers. */
for (i = from = 0; ; i++)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment