[PATCH] randr: bump advertised RandR version to 1.4

Aaron Plattner aplattner at nvidia.com
Tue Feb 5 07:46:06 PST 2013


From: Dave Airlie <airlied at gmail.com>

Signed-off-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Aaron Plattner <aplattner at nvidia.com>
Tested-by: Aaron Plattner <aplattner at nvidia.com>
---
I did a quick grep of the drivers and they all either ignore
RANDR_INTERFACE_VERSION as returned by xf86CrtcScreenInit or just check that it
returns something that's not zero.

This should be a candidate for server-1.13-branch too.

 include/protocol-versions.h | 2 +-
 randr/randrstr.h            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/protocol-versions.h b/include/protocol-versions.h
index 10f5117..5ceaeb0 100644
--- a/include/protocol-versions.h
+++ b/include/protocol-versions.h
@@ -65,7 +65,7 @@
 
 /* RandR */
 #define SERVER_RANDR_MAJOR_VERSION		1
-#define SERVER_RANDR_MINOR_VERSION		3
+#define SERVER_RANDR_MINOR_VERSION		4
 
 /* Record */
 #define SERVER_RECORD_MAJOR_VERSION		1
diff --git a/randr/randrstr.h b/randr/randrstr.h
index a16302f..f52d0f2 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -57,7 +57,7 @@
 #define RANDR_13_INTERFACE 1    /* requires RANDR_12_INTERFACE */
 #define RANDR_GET_CRTC_INTERFACE 1
 
-#define RANDR_INTERFACE_VERSION 0x0103
+#define RANDR_INTERFACE_VERSION 0x0104
 
 typedef XID RRMode;
 typedef XID RROutput;
-- 
1.7.12



More information about the xorg-devel mailing list