diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-03-19 21:59:17 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2017-03-19 22:03:16 +0100 |
commit | 7065e0bf25484fe9cf008c934b69eff90600d3d8 (patch) | |
tree | 065ae9f127d6091ea37424f560dc8cbf47d59cc4 /nx-X11/programs/Xserver/hw/nxagent/Keyboard.h | |
parent | 7fd5d934c1e73642e9919aa8dd5124466356fb89 (diff) | |
download | nx-libs-7065e0bf25484fe9cf008c934b69eff90600d3d8.tar.gz nx-libs-7065e0bf25484fe9cf008c934b69eff90600d3d8.tar.bz2 nx-libs-7065e0bf25484fe9cf008c934b69eff90600d3d8.zip |
Keystroke.c: ignore CapsLock and NumLock most of the time
CapsLock and NumLock will only be taken into account for keystrokes
that explicitly require them. This is implemented for convenience and
fixes ArcticaProject/nx-libs#397
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Keyboard.h')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Keyboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.h b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.h index 368d5d843..d4f30fa6c 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.h @@ -126,4 +126,7 @@ CARD8 nxagentConvertKeycode(CARD8 k); extern CARD8 nxagentCapsLockKeycode; extern CARD8 nxagentNumLockKeycode; +extern unsigned int nxagentCapsMask; +extern unsigned int nxagentNumlockMask; + #endif /* __Keyboard_H__ */ |