Skip to content

Commit

Permalink
Fix setting of fn modifier flag
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed Jan 29, 2024
1 parent 2d98ddd commit 3c2439b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macos/keypress.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void toggleKeyCode(MMKeyCode code, const bool down, MMKeyFlags flags) {
flags |= MOD_SHIFT;
}
if (code == K_FUNCTION) {
flags |= MOD_FUNCTION;
flags |= MOD_FN;
}

MMKeyFlags activeKeyFlags;
Expand Down

0 comments on commit 3c2439b

Please sign in to comment.