mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user