summaryrefslogtreecommitdiff
path: root/randr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-11-24 16:22:11 -0800
committerKeith Packard <keithp@keithp.com>2008-11-24 16:22:11 -0800
commit6c17940a7960885695aa6033de58c3cd2bb6fb79 (patch)
treef2a57e43d79606e67b90d2aa7744c1352ada95c2 /randr.h
parentc998b4658d735e5b2d7aa6983d732d40cc802823 (diff)
parent8793429f3d9d7cdf16be118ce05a68af6531568e (diff)
Merge branch 'transform-proposal'
Conflicts: randr.h randrproto.h randrproto.txt
Diffstat (limited to 'randr.h')
-rw-r--r--randr.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/randr.h b/randr.h
index 74a780c..87cd4a8 100644
--- a/randr.h
+++ b/randr.h
@@ -40,11 +40,11 @@ typedef unsigned long XRandrModeFlags;
#define RANDR_NAME "RANDR"
#define RANDR_MAJOR 1
-#define RANDR_MINOR 2
+#define RANDR_MINOR 3
#define RRNumberErrors 3
#define RRNumberEvents 2
-#define RRNumberRequests 26
+#define RRNumberRequests 28
#define X_RRQueryVersion 0
/* we skip 1 to make old clients fail pretty immediately */
@@ -80,6 +80,13 @@ typedef unsigned long XRandrModeFlags;
/* V1.3 additions */
#define X_RRGetScreenResourcesCurrent 25
+#define X_RRSetCrtcTransform 26
+#define X_RRGetCrtcTransform 27
+
+#define RRTransformUnit (1L << 0)
+#define RRTransformScaleUp (1L << 1)
+#define RRTransformScaleDown (1L << 2)
+#define RRTransformProjective (1L << 3)
/* Event selection bits */
#define RRScreenChangeNotifyMask (1L << 0)