Skip to content

Conversation

low-batt
Copy link
Contributor

This commit will:

  • Change MainWindowController.workaroundCursorDefect to only hide the cursor if animationState is set to hidden
  • Change MainWindowController.performMouseAction to call hideUIAndCursor instead of hideUI

This corrects the workaround for the AppKit method NSCursor.setHiddenUntilMouseMoves malfunctioning to only hide the cursor when the OSC is hidden.

This commit also changes the behavior when mouse clicks are configured to hide the OSC to include hiding the cursor to match up with the behavior when the OSC is automatically hidden after a delay.


Description:

This commit will:
- Change MainWindowController.workaroundCursorDefect to only hide the
  cursor if animationState is set to hidden
- Change MainWindowController.performMouseAction to call hideUIAndCursor
  instead of hideUI

This corrects the workaround for the AppKit method
NSCursor.setHiddenUntilMouseMoves malfunctioning to only hide the
cursor when the OSC is hidden.

This commit also changes the behavior when mouse clicks are configured
to hide the OSC to include hiding the cursor to match up with the
behavior when the OSC is automatically hidden after a delay.
@low-batt low-batt requested a review from uiryuu January 11, 2024 03:07
@low-batt low-batt linked an issue Jan 11, 2024 that may be closed by this pull request
1 task
@uiryuu uiryuu merged commit 3d233d5 into develop Jan 14, 2024
@uiryuu uiryuu deleted the cursor-handling branch January 14, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cursor disappears after clicking in the main window
2 participants