Commit 2adab297 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Events.c: fix capslock weirdness (re-add lost code)

This was removed by mistake in 39866f5c. Fixes ArcticaProject/nx-libs#904
parent 87074622
...@@ -1593,6 +1593,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was not already ...@@ -1593,6 +1593,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was not already
{ {
for (int k = 0; k < 8; k++) for (int k = 0; k < 8; k++)
{ {
if (val & (1 << k))
{ {
#ifdef NXAGENT_FIXKEYS_DEBUG #ifdef NXAGENT_FIXKEYS_DEBUG
fprintf(stderr, "sending KeyRelease event for keycode: %x\n", fprintf(stderr, "sending KeyRelease event for keycode: %x\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment