Commit f699770e authored by Michal Srb's avatar Michal Srb Committed by Peter Hutterer

XIGetClientPointer: Return False on error.

Not NoSuchExtension which is 1 = True!
Signed-off-by: default avatarMichal Srb <msrb@suse.com>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent dc1f8c6e
......@@ -49,7 +49,7 @@ XIGetClientPointer(Display* dpy, Window win, int *deviceid)
LockDisplay(dpy);
if (_XiCheckExtInit(dpy, Dont_Check, info) == -1)
return (NoSuchExtension);
return False;
GetReq(XIGetClientPointer, req);
req->reqType = info->codes->major_opcode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment