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 <>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent dc1f8c6e
......@@ -49,7 +49,7 @@ XIGetClientPointer(Display* dpy, Window win, int *deviceid)
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