summaryrefslogtreecommitdiff
path: root/randr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-02-15 15:49:35 -0800
committerKeith Packard <keithp@keithp.com>2008-02-15 15:54:44 -0800
commit329b2068c1505dbc2eef7cc245b02c3bbf9c67ff (patch)
treee7e157ef669e08062010ccffa262858e53836201 /randr.h
parent2df8499d24d15bfca3c928b681f64b6e8a05f0af (diff)
Add Transform request proposal for 1.3
Diffstat (limited to 'randr.h')
-rw-r--r--randr.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/randr.h b/randr.h
index 17e6ef9..7b35e86 100644
--- a/randr.h
+++ b/randr.h
@@ -39,11 +39,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 25
+#define RRNumberRequests 27
#define X_RRQueryVersion 0
/* we skip 1 to make old clients fail pretty immediately */
@@ -77,6 +77,15 @@ typedef unsigned long XRandrModeFlags;
#define X_RRGetCrtcGamma 23
#define X_RRSetCrtcGamma 24
+/* V1.3 additions */
+#define X_RRSetCrtcTransform 25
+#define X_RRGetCrtcTransform 26
+
+#define RRTransformUnit (1L << 0)
+#define RRTransformScaleUp (1L << 1)
+#define RRTransformScaleDown (1L << 2)
+#define RRTransformProjective (1L << 3)
+
/* Event selection bits */
#define RRScreenChangeNotifyMask (1L << 0)
/* V1.2 additions */