April 9, 2026
1:20 p.m.
Makes sense to me; not sure why it wasn't done that way when that flag was added in !2981. setMouseConfinementRect is definitely not ideal but it's the best tool we've got. You can see my copious comments on the situation in cocoa_cursorclipping.m. I haven't heard any reports of confinement rects being worse than the old mode... probably I should remove the event tap code at some point, if we bump the minimum macOS to 10.13. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10613#note_135715