diff options
Diffstat (limited to 'xorg-server/Xext/geext.c')
-rw-r--r-- | xorg-server/Xext/geext.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/xorg-server/Xext/geext.c b/xorg-server/Xext/geext.c index aee68c41d..b4e336110 100644 --- a/xorg-server/Xext/geext.c +++ b/xorg-server/Xext/geext.c @@ -64,16 +64,14 @@ ProcGEQueryVersion(ClientPtr client) REQUEST_SIZE_MATCH(xGEQueryVersionReq); - rep = (xGEQueryVersionReply) { - .repType = X_Reply, - .RepType = X_GEQueryVersion, - .sequenceNumber = client->sequence, - .length = 0, - - /* return the supported version by the server */ - .majorVersion = SERVER_GE_MAJOR_VERSION, - .minorVersion = SERVER_GE_MINOR_VERSION - }; + rep.repType = X_Reply; + rep.RepType = X_GEQueryVersion; + rep.sequenceNumber = client->sequence; + rep.length = 0; + + /* return the supported version by the server */ + rep.majorVersion = SERVER_GE_MAJOR_VERSION; + rep.minorVersion = SERVER_GE_MINOR_VERSION; /* Remember version the client requested */ pGEClient->major_version = stuff->majorVersion; |