diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-12-31 01:22:11 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-15 16:38:11 +0100 |
commit | 108ed9d928bae39c6398a3b11770f40749f07bc1 (patch) | |
tree | 4b28009bc4ab26d1cc11c4b0a421ccae2ef91810 /nx-X11 | |
parent | f4dd9d76aa58cdfbb7e0e2a160d0cfdee85a9f40 (diff) | |
download | nx-libs-108ed9d928bae39c6398a3b11770f40749f07bc1.tar.gz nx-libs-108ed9d928bae39c6398a3b11770f40749f07bc1.tar.bz2 nx-libs-108ed9d928bae39c6398a3b11770f40749f07bc1.zip |
Keyboard.c: noXkbExtension is a Boolean
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c index 38955f669..00db6ce2a 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c @@ -974,7 +974,7 @@ int nxagentResetKeyboard(void) if (dev->key) { #ifdef XKB - if (noXkbExtension == 0 && dev->key->xkbInfo) + if (!noXkbExtension && dev->key->xkbInfo) { oldMinKeycode = dev->key->xkbInfo -> desc -> min_key_code; oldMaxKeycode = dev->key->xkbInfo -> desc -> max_key_code; @@ -1132,7 +1132,7 @@ static int nxagentFreeKeyboardDeviceData(DeviceIntPtr dev) if (dev->key) { #ifdef XKB - if (noXkbExtension == 0 && dev->key->xkbInfo) + if (!noXkbExtension && dev->key->xkbInfo) { XkbFreeInfo(dev->key->xkbInfo); dev->key->xkbInfo = NULL; |