# HG changeset patch # User Kim F. Storm # Date 1084835176 0 # Node ID 0e26a0be1ee5fb9b8cb199a1c3522c9a8a564eb4 # Parent 0bb4e9bca69bef016e34fc25d7f6c89708902d3e (INPUT_BLOCKED_P): New macro. diff -r 0bb4e9bca69b -r 0e26a0be1ee5 src/blockinput.h --- a/src/blockinput.h Mon May 17 23:05:33 2004 +0000 +++ b/src/blockinput.h Mon May 17 23:06:16 2004 +0000 @@ -97,6 +97,9 @@ #define TOTALLY_UNBLOCK_INPUT (interrupt_input_blocked = 0) #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT +/* In critical section ? */ +#define INPUT_BLOCKED_P (interrupt_input_blocked > 0) + /* Defined in keyboard.c */ /* Don't use a prototype here; it causes trouble in some files. */ extern void reinvoke_input_signal ();