iina icon indicating copy to clipboard operation
iina copied to clipboard

Focus the window to ensure cursor can be hidden in fullscreen

Open jesec opened this issue 3 years ago • 1 comments

"NSCursor.setHiddenUntilMouseMoves" is only effective when the calling window is the focused window.

When user moves back from another screen or space, the window may not be focused. As a result, the cursor can't be hidden before the user clicks the window.

It can be reasonably expected that the user would want to focus on the window when the mouse moves inside the window and the window is in fullscreen.

As such, focus the window on mouse movement inside the window when the window is in fullscreen.

Bug: #1415

jesec avatar May 27 '22 02:05 jesec

Firstly, I believe that the issue you mentioned is not related with this PR, and should have been already fixed. Besides, I think it is not reasonable to change the focus window just because the mouse moved into the window in fullscreen.

uiryuu avatar Oct 07 '22 09:10 uiryuu