Skip to content

Commit

Permalink
Update input_manager.c
Browse files Browse the repository at this point in the history
Don't send repeated keypresses
  • Loading branch information
xeropresence committed Jun 10, 2020
1 parent 3c0fc8f commit 3d52cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/input_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ input_manager_process_key(struct input_manager *im,
return;
}

if (!control) {
if (!control || event->repeat) {
return;
}

Expand Down

0 comments on commit 3d52cd5

Please sign in to comment.