Mercurial > emacs
view src/s/hpux11.h @ 48912:b0b74923fe41
(popup_get_selection): Now static. New arg DO_TIMERS.
If it is non-nil, run timers. Use an unwind-protect to requeue
the events that were read ahead.
(popup_get_selection_unwind): New subroutine.
(popup_get_selection_queue): File-scope variable now holds that queue.
(xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection.
(xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection.
Use an unwind-protect to pop down the dialog box.
(xdialog_show_unwind): New subroutine implements that.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 21 Dec 2002 18:19:05 +0000 |
parents | 9fca08a4ea91 |
children | 1bcf8d62f4cd d7ddb3e565de |
line wrap: on
line source
#include "hpux10.h" #define HPUX11 #ifdef POSIX_SIGNALS #undef POSIX_SIGNALS #endif #define POSIX_SIGNALS 1 /* SA_RESTART resets the timeout of `select', so don't use it. */ #define BROKEN_SA_RESTART /* It does work on HPUX to open the pty's tty in the parent (Emacs), then close and reopen it in the child. */ #define USG_SUBTTY_WORKS /* HPUX 10.10 needs this; HPUX 10.20 does not, and HPUX 11 does not. */ #undef POLLING_PROBLEM_IN_SELECT