diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-01 09:54:03 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-02 13:25:44 +1000 |
commit | b1dedc1293a854360d44856cd603d339ce95c777 (patch) | |
tree | 773d4b7e20f72bfe6b6cc504f2a90ffc766fcf14 /src/XWarpDvPtr.c | |
parent | 4d962ed1841f35aa255bbec89e37f396612cfd96 (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/XWarpDvPtr.c')
-rw-r--r-- | src/XWarpDvPtr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/XWarpDvPtr.c b/src/XWarpDvPtr.c index c13fc20..60188db 100644 --- a/src/XWarpDvPtr.c +++ b/src/XWarpDvPtr.c @@ -31,7 +31,6 @@ in this Software without prior written authorization from The Open Group. */ #include <stdint.h> -#include <X11/extensions/XI.h> #include <X11/extensions/XI2proto.h> #include <X11/Xlibint.h> #include <X11/extensions/XInput2.h> @@ -55,7 +54,7 @@ XIWarpPointer(Display *dpy, 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(XIWarpPointer, req); |