diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-01-25 15:50:04 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2020-01-25 21:20:28 +0100 |
commit | 2adab29728f9598c3e1bbd89d7e1f11eeab1bcf6 (patch) | |
tree | fbe3bf29671e4c2bc58549960f905e9b7f183aeb /nx-X11/programs/Xserver/hw/nxagent/Events.c | |
parent | 870746222abbecd16f113b93a4420846b2d5d510 (diff) | |
download | nx-libs-2adab29728f9598c3e1bbd89d7e1f11eeab1bcf6.tar.gz nx-libs-2adab29728f9598c3e1bbd89d7e1f11eeab1bcf6.tar.bz2 nx-libs-2adab29728f9598c3e1bbd89d7e1f11eeab1bcf6.zip |
Events.c: fix capslock weirdness (re-add lost code)
This was removed by mistake in 39866f5c133230e5731156c2356c8571c971534c.
Fixes ArcticaProject/nx-libs#904
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c index a06d52a2a..45c80909c 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Events.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c @@ -1593,6 +1593,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was not already { for (int k = 0; k < 8; k++) { + if (val & (1 << k)) { #ifdef NXAGENT_FIXKEYS_DEBUG fprintf(stderr, "sending KeyRelease event for keycode: %x\n", |