]> git.sesse.net Git - rdpsrv/blob - Xserver/programs/Xserver/include/opaque.h
Import X server from vnc-3.3.7.
[rdpsrv] / Xserver / programs / Xserver / include / opaque.h
1 /* $XConsortium: opaque.h,v 1.19 94/04/17 20:25:51 dpw Exp $ */
2 /*
3
4 Copyright (c) 1987  X Consortium
5
6 Permission is hereby granted, free of charge, to any person obtaining
7 a copy of this software and associated documentation files (the
8 "Software"), to deal in the Software without restriction, including
9 without limitation the rights to use, copy, modify, merge, publish,
10 distribute, sublicense, and/or sell copies of the Software, and to
11 permit persons to whom the Software is furnished to do so, subject to
12 the following conditions:
13
14 The above copyright notice and this permission notice shall be included
15 in all copies or substantial portions of the Software.
16
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
21 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 OTHER DEALINGS IN THE SOFTWARE.
24
25 Except as contained in this notice, the name of the X Consortium shall
26 not be used in advertising or otherwise to promote the sale, use or
27 other dealings in this Software without prior written authorization
28 from the X Consortium.
29
30 */
31 /* $XFree86: xc/programs/Xserver/include/opaque.h,v 1.2.2.1 1997/06/01 12:33:43 dawes Exp $ */
32
33 #ifndef OPAQUE_H
34 #define OPAQUE_H
35
36 #include <X11/Xmd.h>
37
38 extern char *defaultFontPath;
39 extern char *defaultTextFont;
40 extern char *defaultCursorFont;
41 extern char *rgbPath;
42 extern int MaxClients;
43 extern char isItTimeToYield;
44 extern char dispatchException;
45
46 /* bit values for dispatchException */
47 #define DE_RESET     1
48 #define DE_TERMINATE 2
49 #define DE_PRIORITYCHANGE 4  /* set when a client's priority changes */
50
51 extern CARD32 TimeOutValue;
52 extern CARD32 ScreenSaverTime;
53 extern CARD32 ScreenSaverInterval;
54 extern int  ScreenSaverBlanking;
55 extern int  ScreenSaverAllowExposures;
56 extern int argcGlobal;
57 extern char **argvGlobal;
58
59 #if DPMSExtension
60 extern CARD32 defaultDPMSStandbyTime;
61 extern CARD32 defaultDPMSSuspendTime;
62 extern CARD32 defaultDPMSOffTime;
63 extern CARD32 DPMSStandbyTime;
64 extern CARD32 DPMSSuspendTime;
65 extern CARD32 DPMSOffTime;
66 extern CARD16 DPMSPowerLevel;
67 extern Bool defaultDPMSEnabled;
68 extern Bool DPMSEnabled;
69 extern Bool DPMSEnabledSwitch;
70 extern Bool DPMSDisabledSwitch;
71 extern Bool DPMSCapableFlag;
72 #endif
73
74 #endif /* OPAQUE_H */