Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7d1c3a76
Commit
7d1c3a76
authored
Mar 24, 2012
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes: debbugs:11080
* xterm.c (XTread_socket): Only modify handling_signal if !SYNC_INPUT.
parent
e99a9b8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/xterm.c
src/xterm.c
+6
-1
No files found.
src/ChangeLog
View file @
7d1c3a76
2012-03-24 Andreas Schwab <schwab@linux-m68k.org>
* xterm.c (XTread_socket): Only modify handling_signal if
!SYNC_INPUT. (Bug#11080)
2012-03-23 Eli Zaretskii <eliz@gnu.org>
* bidi.c (bidi_fetch_char): Use STRING_CHAR_AND_LENGTH instead of
...
...
src/xterm.c
View file @
7d1c3a76
...
...
@@ -7099,7 +7099,8 @@ x_dispatch_event (XEvent *event, Display *display)
/* Read events coming from the X server.
This routine is called by the SIGIO handler.
This routine is called by the SIGIO handler only if SYNC_INPUT is
not defined.
We return as soon as there are no more events to be read.
We return the number of characters stored into the buffer,
...
...
@@ -7133,7 +7134,9 @@ XTread_socket (struct terminal *terminal, int expected, struct input_event *hold
/* So people can tell when we have read the available input. */
input_signal_count++;
#ifndef SYNC_INPUT
++handling_signal;
#endif
/* For debugging, this gives a way to fake an I/O error. */
if (terminal->display_info.x == XTread_socket_fake_io_error)
...
...
@@ -7223,7 +7226,9 @@ XTread_socket (struct terminal *terminal, int expected, struct input_event *hold
pending_autoraise_frame = 0;
}
#ifndef SYNC_INPUT
--handling_signal;
#endif
UNBLOCK_INPUT;
return count;
...
...
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