2
* $XFree86: xc/include/extensions/randr.h,v 1.4 2001/11/24 07:24:58 keithp Exp $
4
* Copyright (C) 2000, Compaq Computer Corporation,
5
* Copyright (C) 2002, Hewlett Packard, Inc.
7
* Permission to use, copy, modify, distribute, and sell this software and its
8
* documentation for any purpose is hereby granted without fee, provided that
9
* the above copyright notice appear in all copies and that both that
10
* copyright notice and this permission notice appear in supporting
11
* documentation, and that the name of Compaq or HP not be used in advertising
12
* or publicity pertaining to distribution of the software without specific,
13
* written prior permission. HP makes no representations about the
14
* suitability of this software for any purpose. It is provided "as is"
15
* without express or implied warranty.
17
* HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
18
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HP
19
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
21
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
22
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
* Author: Jim Gettys, HP Labs, Hewlett-Packard, Inc.
28
PRotation = ^TRotation;
32
PSubpixelOrder = ^TSubpixelOrder;
33
TSubpixelOrder = cushort;
44
{ we skip 1 to make old clients fail pretty immediately }
45
X_RROldGetScreenInfo = 1;
46
X_RR1_0SetScreenConfig = 2;
47
{ V1.0 apps share the same set screen config request id }
48
X_RRSetScreenConfig = 2;
49
X_RROldScreenChangeSelectInput = 3;
50
{ 3 used to be ScreenChangeSelectInput; deprecated }
52
X_RRGetScreenInfo = 5;
54
{ used in XRRSelectInput }
56
RRScreenChangeNotifyMask = 1 shl 0;
58
RRScreenChangeNotify = 0;
60
{ used in the rotation field; rotation and reflection in 0.1 proto. }
66
{ new in 1.0 protocol, to allow reflection of screen }
71
RRSetConfigSuccess = 0;
72
RRSetConfigInvalidConfigTime = 1;
73
RRSetConfigInvalidTime = 2;
74
RRSetConfigFailed = 3;