Page MenuHome

Fix T76699: Support macOS inbetween mouse/tablet.
ClosedPublic

Authored by Nicholas Rishel (nicholas_rishel) on Nov 15 2020, 9:36 PM.

Details

Summary

Coalescing on macOS overwrites a singular unprocessed mouse event. To
receive all mouse and tablet events coalescing is disabled.

Disabling coalescing for macOS disables coalescing for trackpad
gestures. Repeat trackpad events are unnecessary and found to
negatively impact performance thus are re-coalesced in Window Manager.

Diff Detail

Repository
rB Blender

Event Timeline

Nicholas Rishel (nicholas_rishel) created this revision.

@Brecht Van Lommel (brecht) Most of this diff comes from your template. Only notable fix is wm_event_free_last was modified to pop the WM event queue tail instead of the head.

I posted this as a diff in case you wanted to rope in other module owners for review given it modifies input behavior; if you think that's unnecessary I can squash and push to master.

This revision is now accepted and ready to land.Nov 16 2020, 12:34 PM

No need to involve more reviewers.