Mercurial > emacs
view oldXMenu/README @ 111353:f2cb0d643a91
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.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Mon, 01 Nov 2010 12:30:33 +0100 |
parents | b6efdc75a68e |
children |
line wrap: on
line source
Most of the files in this directory are originally from the X11R2 XMenu library, distributed by MIT under the terms in the file copyright.h. As of Release 2 of the X Window System, Version 11 from MIT, the XMenu library is no longer supported. It is not used in any software supplied by MIT and its use is not encouraged. In X11R1, oldXMenu/ was found in the lib/ directory of the X11 source; but in X11R2 it was moved to contrib/. The following files are from the X11 oldXMenu/ directory: Activate.c AddPane.c AddSel.c ChgPane.c ChgSel.c Create.c DelPane.c DelSel.c Destroy.c Error.c EvHand.c FindPane.c FindSel.c InsPane.c InsSel.c Internal.c Locate.c Post.c Recomp.c SetAEQ.c SetFrz.c SetPane.c SetSel.c XMenu.h XMenuInt.h (renamed from "XMenuInternal.h") The following files are from the X11 oldX/ directory: X10.h XCrAssoc.c XDelAssoc.c XDestAssoc.c XLookAssoc.c XMakeAssoc.c This code is used by Emacs in the absence of an X-toolkit.