I believes that the behavior of CGEventTap is not correct. https://github.com/servo/core-foundation-rs/blob/d7879eb353ed04503c99237c3dd22a5652bbf745/core-graphics/src/event.rs#L437 I think that if the callback returns NULL, the event is supposed to be cancelled https://developer.apple.com/documentation/coregraphics/cgeventtapcallback?language=objc
I believes that the behavior of CGEventTap is not correct.
core-foundation-rs/core-graphics/src/event.rs
Line 437 in d7879eb
I think that if the callback returns NULL, the event is supposed to be cancelled
https://developer.apple.com/documentation/coregraphics/cgeventtapcallback?language=objc