summaryrefslogtreecommitdiff
path: root/include/protocol-versions.h
diff options
context:
space:
mode:
authorJames Jones <jajones@nvidia.com>2010-12-06 13:36:14 -0800
committerJames Jones <jajones@nvidia.com>2010-12-06 19:07:00 -0800
commit27593eea7efcbed8de0c6e8233cbd1a1b8a50459 (patch)
treeec1ee3ffa8c1724fa4d260635f551d1628f31500 /include/protocol-versions.h
parent311cad33155c64ed996418808727fc417168592e (diff)
Add and use SERVER_SYNC_*_VERSION
Most extensions have a version defined in the protocol headers, and also in the server's protocol-versions.h. The latter defines which version the server advertises support for. Sync wasn't included in protocol-versions.h, and was advertising support for whatever was in the protocol headers the server was built against. Signed-off-by: James Jones <jajones@nvidia.com> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/protocol-versions.h')
-rw-r--r--include/protocol-versions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/protocol-versions.h b/include/protocol-versions.h
index c67446548..ce2879741 100644
--- a/include/protocol-versions.h
+++ b/include/protocol-versions.h
@@ -95,6 +95,10 @@
#define SERVER_SHM_MAJOR_VERSION 1
#define SERVER_SHM_MINOR_VERSION 1
+/* Sync */
+#define SERVER_SYNC_MAJOR_VERSION 3
+#define SERVER_SYNC_MINOR_VERSION 0
+
/* Windows WM */
#define SERVER_WINDOWSWM_MAJOR_VERSION 1
#define SERVER_WINDOWSWM_MINOR_VERSION 0