diff options
Diffstat (limited to 'src/XGetKMap.c')
-rw-r--r-- | src/XGetKMap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGetKMap.c b/src/XGetKMap.c index 00dde06..0540ce4 100644 --- a/src/XGetKMap.c +++ b/src/XGetKMap.c @@ -78,7 +78,7 @@ XGetDeviceKeyMapping(register Display * dpy, XDevice * dev, LockDisplay(dpy); if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1) - return ((KeySym *) NoSuchExtension); + return NULL; GetReq(GetDeviceKeyMapping, req); req->reqType = info->codes->major_opcode; |