aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-06-05 19:57:47 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-06-05 20:00:06 +0200
commitccb39748958c4278d9747e22aa2484ad40fb68a3 (patch)
treebf930fe1ea696df200f6c809608896ccc8572876
parentc7a6e9ec36f9388f8209edebf0912feb13f282d8 (diff)
downloadhex-ccb39748958c4278d9747e22aa2484ad40fb68a3.tar.gz
hex-ccb39748958c4278d9747e22aa2484ad40fb68a3.tar.xz
hex-ccb39748958c4278d9747e22aa2484ad40fb68a3.zip
Avoid ringing the bell on focus events
-rw-r--r--hex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hex.c b/hex.c
index 86bc643..3cb87e2 100644
--- a/hex.c
+++ b/hex.c
@@ -1642,7 +1642,7 @@ app_process_termo_event (termo_key_t *event)
return app_process_action (binding->action);
// TODO: once we become an editor, use 0-9 a-f to overwrite nibbles
- return false;
+ return event->type == TERMO_TYPE_FOCUS;
}
// --- Signals -----------------------------------------------------------------