summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2008-03-10 19:29:07 +0100
committerMatthias Hopf <mhopf@suse.de>2008-03-12 11:37:28 +0100
commit2036851125226065891f13583ade3ce559e7bd37 (patch)
tree3ce7ef1406eb3fbce83031b301f5681fc6e502b3 /randr
parentc7536f4b87e089a7e7c43026b189922fec70c565 (diff)
Return randr interface version in xf86CrtcScreenInit()
Necessary to allow drivers to be run-time backwards compatible when using the modes/ functions w/o providing their own copy.
Diffstat (limited to 'randr')
-rw-r--r--randr/randrstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 3b48f5c2b..4d7c9ccfc 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -56,6 +56,8 @@
#define RANDR_12_INTERFACE 1
#define RANDR_13_INTERFACE 1 /* requires RANDR_12_INTERFACE */
+#define RANDR_INTERFACE_VERSION 0x0103
+
typedef XID RRMode;
typedef XID RROutput;
typedef XID RRCrtc;