Skip to content

seat: update last_cursor_name when client sets cursor#3046

Merged
ammen99 merged 1 commit into
WayfireWM:masterfrom
pakhromov:master
Jun 16, 2026
Merged

seat: update last_cursor_name when client sets cursor#3046
ammen99 merged 1 commit into
WayfireWM:masterfrom
pakhromov:master

Conversation

@pakhromov

Copy link
Copy Markdown
Contributor

Fixes the bug when cursor shape is not changed to default when opening expo. If a client sets a cursor shape (for example to "xterm" or "hand2"), last_cursor_name remains "left_ptr" from the previous compositor call. When expo then calls set_cursor("default"), the early-return fires ("left_ptr" == last_cursor_name) and the cursor is not updated.

expo_cursor_bug.mp4

@ammen99 ammen99 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

@ammen99
ammen99 merged commit 6880030 into WayfireWM:master Jun 16, 2026
4 checks passed
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.

2 participants