summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-08-07 23:43:40 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-08-07 23:43:40 +0300
commit12dbd8a02f797ad57a1be683a02a1fcb1ca35438 (patch)
tree539c1b7634ac8e7ceccaffeef3de0bd51a7bdec0 /Xext
parentf54b71b772a1f587394ae3968782b611e52f0e2d (diff)
remove optional R3 backwards compatibility
Remove the permitOldBugs flag, which enabled backwards compatbility with broken R2/R3 era clients.
Diffstat (limited to 'Xext')
-rw-r--r--Xext/mitmisc.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/Xext/mitmisc.c b/Xext/mitmisc.c
index a11c9a8ad..924b88063 100644
--- a/Xext/mitmisc.c
+++ b/Xext/mitmisc.c
@@ -42,8 +42,6 @@ in this Software without prior written authorization from The Open Group.
#include <X11/extensions/mitmiscstr.h>
#include "modinit.h"
-extern Bool permitOldBugs;
-
#if 0
static unsigned char MITReqCode;
#endif
@@ -90,12 +88,8 @@ ProcMITSetBugMode(client)
REQUEST(xMITSetBugModeReq);
REQUEST_SIZE_MATCH(xMITSetBugModeReq);
- if ((stuff->onOff != xTrue) && (stuff->onOff != xFalse))
- {
- client->errorValue = stuff->onOff;
- return BadValue;
- }
- permitOldBugs = stuff->onOff;
+ if (stuff->onOff != xFalse)
+ return BadRequest;
return(client->noClientException);
}
@@ -110,7 +104,7 @@ ProcMITGetBugMode(client)
rep.type = X_Reply;
rep.length = 0;
rep.sequenceNumber = client->sequence;
- rep.onOff = permitOldBugs;
+ rep.onOff = FALSE;
if (client->swapped) {
swaps(&rep.sequenceNumber, n);
swapl(&rep.length, n);