diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-06-28 12:07:10 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-07-02 13:51:37 +0200 |
commit | 487870fff5cd1bc3db5ade4f5721f483f96119c7 (patch) | |
tree | e41ad6d5cd85b97101c9fd3d37be951eee1a409e /nx-X11/programs/Xserver/Xext/sync.c | |
parent | a08e2323e838099cc2079287c5b3fd1e9b7f20f7 (diff) | |
download | nx-libs-487870fff5cd1bc3db5ade4f5721f483f96119c7.tar.gz nx-libs-487870fff5cd1bc3db5ade4f5721f483f96119c7.tar.bz2 nx-libs-487870fff5cd1bc3db5ade4f5721f483f96119c7.zip |
Xserver/include/protocol-versions.h: Switch to having an Xserver-specific header file containing all use protocol versions.
Diffstat (limited to 'nx-X11/programs/Xserver/Xext/sync.c')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/sync.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/Xext/sync.c b/nx-X11/programs/Xserver/Xext/sync.c index c122e2860..f79cc1b23 100644 --- a/nx-X11/programs/Xserver/Xext/sync.c +++ b/nx-X11/programs/Xserver/Xext/sync.c @@ -70,6 +70,7 @@ PERFORMANCE OF THIS SOFTWARE. #define _SYNC_SERVER #include <nx-X11/extensions/sync.h> #include <nx-X11/extensions/syncstr.h> +#include "protocol-versions.h" #ifdef EXTMODULE #include "xf86_ansic.h" @@ -1349,8 +1350,8 @@ ProcSyncInitialize(client) memset(&rep, 0, sizeof(xSyncInitializeReply)); rep.type = X_Reply; rep.sequenceNumber = client->sequence; - rep.majorVersion = SYNC_MAJOR_VERSION; - rep.minorVersion = SYNC_MINOR_VERSION; + rep.majorVersion = SERVER_SYNC_MAJOR_VERSION; + rep.minorVersion = SERVER_SYNC_MINOR_VERSION; rep.length = 0; if (client->swapped) |