Skip to content

Commit

Permalink
Fix bug in raw key handling
Browse files Browse the repository at this point in the history
  • Loading branch information
izzyreal committed Sep 29, 2021
1 parent 6770211 commit d706541
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -890,7 +890,7 @@ void installKeyboardHandler()
return event;
}];

[NSEvent addLocalMonitorForEventsMatchingMask:NSEventMaskFlagsChanged
_modifierKeyHandler = [NSEvent addLocalMonitorForEventsMatchingMask:NSEventMaskFlagsChanged
handler:^NSEvent*(NSEvent* event)
{
auto code = [event keyCode];
Expand Down

0 comments on commit d706541

Please sign in to comment.