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:26:31 +0100 |
commit | d78837ec3547da1275b635dc0fe6d38de4f8a1cb (patch) | |
tree | c1d46bae812b9a70a61b035bbf86acea162290f1 /nx-X11/programs/Xserver/hw/nxagent | |
parent | 91cef61a016c2a3118fa6c39d2713a47e7914b60 (diff) | |
download | nx-libs-d78837ec3547da1275b635dc0fe6d38de4f8a1cb.tar.gz nx-libs-d78837ec3547da1275b635dc0fe6d38de4f8a1cb.tar.bz2 nx-libs-d78837ec3547da1275b635dc0fe6d38de4f8a1cb.zip |
Keyboard.c: noXkbExtension is a Boolean
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-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; |