c2b2f06aa0
This really just wants to be the list of disable booleans and initialization functions, and nothing else. Stop including the protocol headers from extinit.h, remove a stray mention of xgl, and move an XInput declaration to a better place. v2: A bunch of drivers assume they'll get the DPMS tokens implicitly, so add it to globals.h. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
|
|
#ifndef _XSERV_GLOBAL_H_
|
|
#define _XSERV_GLOBAL_H_
|
|
|
|
#include "window.h" /* for WindowPtr */
|
|
#include "extinit.h"
|
|
#ifdef DPMSExtension
|
|
/* sigh, too many drivers assume this */
|
|
#include <X11/extensions/dpmsconst.h>
|
|
#endif
|
|
|
|
/* Global X server variables that are visible to mi, dix, os, and ddx */
|
|
|
|
extern _X_EXPORT CARD32 defaultScreenSaverTime;
|
|
extern _X_EXPORT CARD32 defaultScreenSaverInterval;
|
|
extern _X_EXPORT CARD32 ScreenSaverTime;
|
|
extern _X_EXPORT CARD32 ScreenSaverInterval;
|
|
|
|
#ifdef SCREENSAVER
|
|
extern _X_EXPORT Bool screenSaverSuspended;
|
|
#endif
|
|
|
|
extern _X_EXPORT const char *defaultFontPath;
|
|
extern _X_EXPORT int monitorResolution;
|
|
extern _X_EXPORT int defaultColorVisualClass;
|
|
|
|
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 PANORAMIX
|
|
extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
|
|
#endif
|
|
|
|
#ifdef XSELINUX
|
|
#define SELINUX_MODE_DEFAULT 0
|
|
#define SELINUX_MODE_DISABLED 1
|
|
#define SELINUX_MODE_PERMISSIVE 2
|
|
#define SELINUX_MODE_ENFORCING 3
|
|
extern _X_EXPORT int selinuxEnforcingState;
|
|
#endif
|
|
|
|
#endif /* !_XSERV_GLOBAL_H_ */
|