Mercurial > emacs
view oldXMenu/SetAEQ.c @ 83330:233c9974025b
Fix the original cause of the "arrow keys don't work on screen" bug.
* src/term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Flush
tty output before returning.
* src/sysdep.c (reset_sys_modes): Remove superflous fflush call.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-370
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 03 Jul 2005 17:09:22 +0000 |
parents | 8e5779acd195 |
children | 532e0a9335a9 |
line wrap: on
line source
#include "copyright.h" /* Copyright Massachusetts Institute of Technology 1985 */ /* * XMenu: MIT Project Athena, X Window system menu package * * XMenuSetAEQ - Set Asynchronous event queuing mode. * When enabled asynchronous events will be queue while * a menu is being displayed and restored to the X * event queue when the menu is taken down. * * Author: Tony Della Fera, DEC * March 12, 1986 * */ #include "XMenuInt.h" XMenuSetAEQ(menu, aeq) register XMenu *menu; /* Menu object to be modified. */ register int aeq; /* AEQ mode? */ { /* * Set the AEQ mode switch. */ menu->aeq = aeq; } /* arch-tag: 48fc22b4-0722-4852-a044-788444e4a9dc (do not change this comment) */