Skip to content

macos: Change to send motion events to NSApp

Fixes #6134 (closed)

This fix a problem where the mouse cursor cannot be changed after it becomes a resize indicator, even in non-CSD windows

It seems that sending these mouse movement related events (not NSEventTypeMouseEntered) to the NSApp would end the behavior where macOS keeps changing the mouse cursor to the resize indicator.

Until macOS Monterey, these behaviors could be corrected by setting the mouse cursor again from the application side, but starting with macOS Ventura, it seems that such measures are necessary.

Screen_Recording_2023-10-03_at_8.26.59

As usual, The fact that wait and progress mouse cursors appears to be broken in this video is a glitch in the capture software; the actual mouse cursor is displayed correctly.

Edited by sumibi-yakitori

Merge request reports