1/*
2
3Copyright 1995 Kaleb S. KEITHLEY
4
5Permission is hereby granted, free of charge, to any person obtaining
6a copy of this software and associated documentation files (the
7"Software"), to deal in the Software without restriction, including
8without limitation the rights to use, copy, modify, merge, publish,
9distribute, sublicense, and/or sell copies of the Software, and to
10permit persons to whom the Software is furnished to do so, subject to
11the following conditions:
12
13The above copyright notice and this permission notice shall be
14included in all copies or substantial portions of the Software.
15
16THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19IN NO EVENT SHALL Kaleb S. KEITHLEY BE LIABLE FOR ANY CLAIM, DAMAGES
20OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22OTHER DEALINGS IN THE SOFTWARE.
23
24Except as contained in this notice, the name of Kaleb S. KEITHLEY
25shall not be used in advertising or otherwise to promote the sale, use
26or other dealings in this Software without prior written authorization
27from Kaleb S. KEITHLEY
28
29*/
30
31/* THIS IS NOT AN X CONSORTIUM STANDARD OR AN X PROJECT TEAM SPECIFICATION */
32
33#ifndef _XF86VM_H_
34#define _XF86VM_H_
35
36#include <X11/Xmd.h>
37
38
39#define CLKFLAG_PROGRAMABLE 1
40
41#ifdef XF86VIDMODE_EVENTS
42#define XF86VidModeNotify 0
43#define XF86VidModeNumberEvents (XF86VidModeNotify + 1)
44
45#define XF86VidModeNotifyMask 0x00000001
46
47#define XF86VidModeNonEvent 0
48#define XF86VidModeModeChange 1
49#else
50#define XF86VidModeNumberEvents 0
51#endif
52
53#define XF86VidModeBadClock 0
54#define XF86VidModeBadHTimings 1
55#define XF86VidModeBadVTimings 2
56#define XF86VidModeModeUnsuitable 3
57#define XF86VidModeExtensionDisabled 4
58#define XF86VidModeClientNotLocal 5
59#define XF86VidModeZoomLocked 6
60#define XF86VidModeNumberErrors (XF86VidModeZoomLocked + 1)
61
62#define XF86VM_READ_PERMISSION 1
63#define XF86VM_WRITE_PERMISSION 2
64
65#endif
66