Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sctk: Fixes for cursor icon #160

Merged
merged 1 commit into from
Jul 11, 2024
Merged

sctk: Fixes for cursor icon #160

merged 1 commit into from
Jul 11, 2024

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Jul 11, 2024

  • With multiple windows, SetCursor is only sent for the focused window. Fixing a flicker between icons when two windows are using different cursors.
  • If there is a drag surface, let that surface set the cursor. And not any other.
  • Set cursor on enter, and when switching between CSDs and app area.

Fixes pop-os/libcosmic#533.

* With multiple windows, `SetCursor` is only sent for the focused
  window. Fixing a flicker between icons when two windows are using
  different cursors.
* If there is a drag surface, let that surface set the cursor. And not
  any other.
* Set cursor on `enter`, and when switching between CSDs and app area.

Fixes pop-os/libcosmic#533.
@ids1024 ids1024 requested a review from a team July 11, 2024 21:23
@mmstick mmstick merged commit dd2e93a into master Jul 11, 2024
8 of 26 checks passed
@mmstick mmstick deleted the cursor-image branch July 11, 2024 21:54
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.

iced-sctk: With multiple windows, set_cursor is called for all windows, not only focused one
3 participants