summaryrefslogtreecommitdiff
path: root/src/XGetMMap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XGetMMap.c')
-rw-r--r--src/XGetMMap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGetMMap.c b/src/XGetMMap.c
index ce10c2d..246698c 100644
--- a/src/XGetMMap.c
+++ b/src/XGetMMap.c
@@ -73,7 +73,7 @@ XGetDeviceModifierMapping(
LockDisplay(dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1)
- return ((XModifierKeymap *) NoSuchExtension);
+ return NULL;
GetReq(GetDeviceModifierMapping, req);
req->reqType = info->codes->major_opcode;