mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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.