summaryrefslogtreecommitdiff
path: root/XIproto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-04-10 14:56:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-10 14:56:50 +1000
commit1956df7e45a49464dee2d7beff36f38ea00e9cb8 (patch)
tree6afd448adb75ace5df10ab2c228fed3e0b4d52ea /XIproto.h
parent55ee1f97d446403b9c2ed2e3c321afa4d683c93f (diff)
downloadxorg-proto-inputproto-1956df7e45a49464dee2d7beff36f38ea00e9cb8.tar.gz
Revert "Add major/minor version as supported by client to GetExtensionVersionReq."
This reverts commit f6e41306f76de966884d4b72c5fb5e5d6d534ce4. Sending the supported version hidden in another request is potentially dangerous, so let's not do it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XIproto.h')
-rw-r--r--XIproto.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/XIproto.h b/XIproto.h
index 21303ba..b7d0da0 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -169,10 +169,6 @@ struct tmask
*
* GetExtensionVersion.
*
- * For versioning support and to not break old clients, note that if nbytes is
- * non-zero, majorVersion and minorVersion will be ignored. Otherwise, if
- * nbytes is zero, majorVersion and minorVersion specify the version the
- * client supports.
*/
typedef struct {
@@ -180,8 +176,7 @@ typedef struct {
CARD8 ReqType; /* always X_GetExtensionVersion */
CARD16 length B16;
CARD16 nbytes B16;
- CARD8 majorVersion; /* As supported by client if nbytes is 0 */
- CARD8 minorVersion; /* As supported by client if nbytes is 0 */
+ CARD8 pad1, pad2;
} xGetExtensionVersionReq;
typedef struct {