summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-17 09:59:17 -0800
committerEric Anholt <eric@anholt.net>2009-02-17 15:28:29 -0800
commitb349a764e98f0d8f221190157ffa0904b91beca5 (patch)
treeb3f484e756d08a5d98c2cf8d7bfd9b00361af17b
parent5394b7e66224d20888dd4020f5cb8ca930720fb4 (diff)
xinerama: Put the proto version in the code instead using proto headers.
Proto headers updating resulting in the server advertising new versions is broken. This should be applied to every extension. This fixes the build against slightly-older xineramaproto.
-rw-r--r--Xext/panoramiX.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c
index 043966877..767f6035e 100644
--- a/Xext/panoramiX.c
+++ b/Xext/panoramiX.c
@@ -57,6 +57,8 @@ Equipment Corporation.
#endif
#include "modinit.h"
+#define SERVER_PANORAMIX_MAJOR_VERSION 1
+#define SERVER_PANORAMIX_MINOR_VERSION 1
#ifdef GLXPROXY
extern VisualPtr glxMatchVisual(ScreenPtr pScreen,
@@ -902,8 +904,8 @@ ProcPanoramiXQueryVersion (ClientPtr client)
rep.type = X_Reply;
rep.length = 0;
rep.sequenceNumber = client->sequence;
- rep.majorVersion = PANORAMIX_MAJOR_VERSION;
- rep.minorVersion = PANORAMIX_MINOR_VERSION;
+ rep.majorVersion = SERVER_PANORAMIX_MAJOR_VERSION;
+ rep.minorVersion = SERVER_PANORAMIX_MINOR_VERSION;
if (client->swapped) {
swaps(&rep.sequenceNumber, n);
swapl(&rep.length, n);
act4236b'>feature/cib_contract4236b main, development code repositoryroot
summaryrefslogtreecommitdiff
path: root/dictionaries
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2014-06-03 20:51:17 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2014-06-03 20:51:17 +0200
commit6c18998d53ad9b1d33173a2004e7086abb98e33f (patch)
tree18322f556aff21999c56afdf38da5650523bec1f /dictionaries
parent3777862a71982c5b03efa0bd24509b4892a4e6cc (diff)