diff options
Diffstat (limited to 'userland/ante/ante.c')
-rw-r--r-- | userland/ante/ante.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/userland/ante/ante.c b/userland/ante/ante.c index 753e7f2..760db28 100644 --- a/userland/ante/ante.c +++ b/userland/ante/ante.c @@ -272,9 +272,11 @@ void run() { int rc; if (0 >= (rc = read(global_w->ws_socket, &e, sizeof(e)))) continue; - if (0 == e.c) + if (e.ev.release) continue; - key_event(e.c); + if (0 == e.ev.c) + continue; + key_event(e.ev.c); } } } |