diff --git a/Sources/MachPort/MachPortEventController.swift b/Sources/MachPort/MachPortEventController.swift index 07bc86c..369d57d 100644 --- a/Sources/MachPort/MachPortEventController.swift +++ b/Sources/MachPort/MachPortEventController.swift @@ -132,7 +132,7 @@ public final class MachPortEventController: MachPortEventPublisher { } else { event = newEvent } - return result + return newEvent.result } private final func determineModifierKeysLocation(_ cgEvent: CGEvent) -> Bool {