summaryrefslogtreecommitdiffhomepage
path: root/opentrack/shortcuts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/shortcuts.cpp')
-rw-r--r--opentrack/shortcuts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/shortcuts.cpp b/opentrack/shortcuts.cpp
index 0d7f79b9..108b6b3b 100644
--- a/opentrack/shortcuts.cpp
+++ b/opentrack/shortcuts.cpp
@@ -68,6 +68,8 @@ void Shortcuts::receiver(Key &k)
continue;
if (k.keycode != k_->keycode)
continue;
+ if (!k.held)
+ continue;
if (!k_->should_process())
continue;
if (k_->alt && !k.alt) continue;