From c2de28efe240194415d3030908ef24b383530689 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 17 May 2004 23:06:16 +0000 Subject: [PATCH] (INPUT_BLOCKED_P): New macro. --- src/blockinput.h | 3 +++ 1 file changed, 3 insertions(+) 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 (); -- 2.39.5