summaryrefslogtreecommitdiff
path: root/src/XIGrabDevice.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-01 09:54:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-02 13:25:44 +1000
commitb1dedc1293a854360d44856cd603d339ce95c777 (patch)
tree773d4b7e20f72bfe6b6cc504f2a90ffc766fcf14 /src/XIGrabDevice.c
parent4d962ed1841f35aa255bbec89e37f396612cfd96 (diff)
Use Dont_Check for most XI2 requests.
If a client issues an XI2 request against a non-XI2 server it should generate a BadRequest error from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/XIGrabDevice.c')
-rw-r--r--src/XIGrabDevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIGrabDevice.c b/src/XIGrabDevice.c
index c466c20..66e359b 100644
--- a/src/XIGrabDevice.c
+++ b/src/XIGrabDevice.c
@@ -86,7 +86,7 @@ XIUngrabDevice(Display* dpy, int deviceid, Time time)
XExtDisplayInfo *info = XInput_find_display(dpy);
LockDisplay(dpy);
- if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1)
+ if (_XiCheckExtInit(dpy, Dont_Check, info) == -1)
return (NoSuchExtension);
GetReq(XIUngrabDevice, req);