Skip to content

Preserve target app for Logitech control actions - #1171

Merged
lujjjh merged 1 commit into
mainfrom
fix/logitech-back-forward-target-pid
Apr 25, 2026
Merged

lujjjh merged 1 commit into
mainfrom
fix/logitech-back-forward-target-pid

Conversation

@lujjjh

@lujjjh lujjjh commented Apr 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • keep Logitech control handling on the same topmost-window owner lookup path used before the performance gate, since Logitech control notifications are not the high-frequency mouse-move hot path
  • preserve universal back/forward behavior for Logitech control mappings without changing the event tap optimization from Fix event processing performance regressions #1170
  • keep Logitech control events and mouse-move events on the same transformer cache key when process conditions are not used, so Logitech gesture tracking keeps its movement state
  • remove the unused timeout parameter from the synchronous GetReport helper, since that path performs a single synchronous IOHIDDeviceGetReport call

Testing

  • xcodebuild -project LinearMouse.xcodeproj -scheme LinearMouse -configuration Debug -destination 'platform=macOS' build\n

@lujjjh lujjjh added the bug Something isn't working label Apr 25, 2026
@lujjjh
lujjjh force-pushed the fix/logitech-back-forward-target-pid branch from e9df7e8 to 4a3b6c7 Compare April 25, 2026 06:36
@lujjjh lujjjh changed the title Preserve target app for Logitech back/forward actions Preserve target app for Logitech control actions Apr 25, 2026
@lujjjh
lujjjh force-pushed the fix/logitech-back-forward-target-pid branch from 4a3b6c7 to 56be80e Compare April 25, 2026 06:41
@lujjjh
lujjjh force-pushed the fix/logitech-back-forward-target-pid branch from 56be80e to ace5a8c Compare April 25, 2026 06:42
@lujjjh
lujjjh merged commit d19dcf8 into main Apr 25, 2026
1 check passed
@lujjjh
lujjjh deleted the fix/logitech-back-forward-target-pid branch April 25, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ignore for release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant