summaryrefslogtreecommitdiff
path: root/src/blockinput.h
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-05-17 23:06:16 +0000
committerKim F. Storm <storm@cua.dk>2004-05-17 23:06:16 +0000
commitc2de28efe240194415d3030908ef24b383530689 (patch)
tree626564690e89758add62c8d5ee60184981183fb2 /src/blockinput.h
parent89d199887d412595cfacd166cb6ac33a5bfbf4d6 (diff)
downloademacs-c2de28efe240194415d3030908ef24b383530689.tar.gz
(INPUT_BLOCKED_P): New macro.
Diffstat (limited to 'src/blockinput.h')
-rw-r--r--src/blockinput.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blockinput.h b/src/blockinput.h
index eba192c9863..e9f2f3bc217 100644
--- a/src/blockinput.h
+++ b/src/blockinput.h
@@ -97,6 +97,9 @@ extern int pending_atimers;
#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 ();