mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
We call ns_event_to_key_event for the NSFlagsChanged event as well. By retrieving the isARepeat flag on those events, we are guaranteed to throw an exception. See: https://developer.apple.com/documentation/appkit/nsevent/1528049-arepeat?language=objc Raises an NSInternalInconsistencyException if sent to an NSFlagsChanged event or other non-key event.