Skip to content

Commit

Permalink
fix: browser crashing on pressing capslock
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiesel committed Feb 14, 2024
1 parent 5bd00a8 commit 2218ac4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/shared/magicy/keyboard/_darwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ class Listener(ListenerMixin, _base.Listener):
Quartz.CGEventMaskBit(Quartz.kCGEventKeyDown)
| Quartz.CGEventMaskBit(Quartz.kCGEventKeyUp)
| Quartz.CGEventMaskBit(Quartz.kCGEventFlagsChanged)
| Quartz.CGEventMaskBit(Quartz.NSSystemDefined)
# NOTE Migaku Fix: Also means users cannot used media keys as global hotkeys
# But that should be ok.
# | Quartz.CGEventMaskBit(Quartz.NSSystemDefined)
)

# pylint: disable=W0212
Expand Down

0 comments on commit 2218ac4

Please sign in to comment.