diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2010-11-01 12:30:33 +0100 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2010-11-01 12:30:33 +0100 |
commit | 3649d303b0e78aaeb4894389f5be6375837f88b8 (patch) | |
tree | 3290b88797c2abeb1a719046ddedefbd30ff73c6 /ChangeLog | |
parent | cb5e49a301339b95b997a554381e60a4d2824ae7 (diff) | |
download | emacs-3649d303b0e78aaeb4894389f5be6375837f88b8.tar.gz |
Backport fix for Bug#6571 from trunk. NOTE: May cause merge conflicts.
* src/keyboard.c (input_available_signal): Declare.
(kbd_buffer_nr_stored): New function.
(kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571).
(kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571).
(tty_read_avail_input): If input is on hold, return.
Don't read more that free slots in kbd_buffer (Bug#6571).
* src/process.c (kbd_is_on_hold): New variable.
(hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
New functions.
(wait_reading_process_output): If kbd_on_hold_p returns non-zero,
select on empty input mask.
(init_process): Initialize kbd_is_on_hold to 0.
* src/process.h (hold_keyboard_input, unhold_keyboard_input)
(kbd_on_hold_p): Declare.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions