diff options
Diffstat (limited to 'include/dix.h')
-rw-r--r-- | include/dix.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h index ae9719ae9..240018b8d 100644 --- a/include/dix.h +++ b/include/dix.h @@ -136,6 +136,12 @@ typedef HWEventQueueType *HWEventQueuePtr; extern _X_EXPORT HWEventQueuePtr checkForInput[2]; +static inline _X_NOTSAN Bool +InputCheckPending(void) +{ + return (*checkForInput[0] != *checkForInput[1]); +} + typedef struct _TimeStamp { CARD32 months; /* really ~49.7 days */ CARD32 milliseconds; |