VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/globals.h

Last change on this file was 45134, checked in by vboxsync, 12 years ago

Additions/X11: build vboxvideo_drv.so for X.Org Server 1.14.

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1
2#ifndef _XSERV_GLOBAL_H_
3#define _XSERV_GLOBAL_H_
4
5#include <signal.h>
6
7#include "window.h" /* for WindowPtr */
8#include "extinit.h"
9
10/* Global X server variables that are visible to mi, dix, os, and ddx */
11
12extern _X_EXPORT CARD32 defaultScreenSaverTime;
13extern _X_EXPORT CARD32 defaultScreenSaverInterval;
14extern _X_EXPORT CARD32 ScreenSaverTime;
15extern _X_EXPORT CARD32 ScreenSaverInterval;
16
17#ifdef SCREENSAVER
18extern _X_EXPORT Bool screenSaverSuspended;
19#endif
20
21extern _X_EXPORT char *defaultFontPath;
22extern _X_EXPORT int monitorResolution;
23extern _X_EXPORT int defaultColorVisualClass;
24
25extern _X_EXPORT int GrabInProgress;
26extern _X_EXPORT Bool noTestExtensions;
27extern _X_EXPORT char *SeatId;
28extern _X_EXPORT char *ConnectionInfo;
29extern _X_EXPORT sig_atomic_t inSignalContext;
30
31#ifdef DPMSExtension
32extern _X_EXPORT CARD32 DPMSStandbyTime;
33extern _X_EXPORT CARD32 DPMSSuspendTime;
34extern _X_EXPORT CARD32 DPMSOffTime;
35extern _X_EXPORT CARD16 DPMSPowerLevel;
36extern _X_EXPORT Bool DPMSEnabled;
37extern _X_EXPORT Bool DPMSDisabledSwitch;
38extern _X_EXPORT Bool DPMSCapableFlag;
39#endif
40
41#ifdef PANORAMIX
42extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
43#endif
44
45#ifdef XSELINUX
46#define SELINUX_MODE_DEFAULT 0
47#define SELINUX_MODE_DISABLED 1
48#define SELINUX_MODE_PERMISSIVE 2
49#define SELINUX_MODE_ENFORCING 3
50extern _X_EXPORT int selinuxEnforcingState;
51#endif
52
53#endif /* !_XSERV_GLOBAL_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette