summaryrefslogtreecommitdiff
path: root/src/XGMotion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XGMotion.c')
-rw-r--r--src/XGMotion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGMotion.c b/src/XGMotion.c
index a4c75b6..7785843 100644
--- a/src/XGMotion.c
+++ b/src/XGMotion.c
@@ -81,7 +81,7 @@ XGetDeviceMotionEvents(
LockDisplay(dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1)
- return ((XDeviceTimeCoord *) NoSuchExtension);
+ return NULL;
GetReq(GetDeviceMotionEvents, req);
req->reqType = info->codes->major_opcode;