Add global variable inSignalContext
This will be used for checking for proper logging when in signal context. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Peter Hutterer
parent
8dc70acbf3
commit
d3725549f0
@@ -2,6 +2,8 @@
|
||||
#ifndef _XSERV_GLOBAL_H_
|
||||
#define _XSERV_GLOBAL_H_
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#include "window.h" /* for WindowPtr */
|
||||
|
||||
/* Global X server variables that are visible to mi, dix, os, and ddx */
|
||||
@@ -23,6 +25,7 @@ extern _X_EXPORT int GrabInProgress;
|
||||
extern _X_EXPORT Bool noTestExtensions;
|
||||
extern _X_EXPORT char *SeatId;
|
||||
extern _X_EXPORT char *ConnectionInfo;
|
||||
extern _X_EXPORT sig_atomic_t inSignalContext;
|
||||
|
||||
#ifdef DPMSExtension
|
||||
extern _X_EXPORT CARD32 DPMSStandbyTime;
|
||||
|
||||
Reference in New Issue
Block a user