Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Conversation

@ixru
Copy link

@ixru ixru commented Oct 7, 2018

When spawning a new window in Rootston the cursor will disappear if it is over the surface. It is supposed to be set to a surface specific cursor. I think this is caused by the client sending an empty cursor surface when requested causing cursor->visible to be set to false. The surface is then committed but the visibility is not updated so it stays hidden until it registers movement.

I'm unsure if I put it in the correct place though. Maybe it should be called inside output_cursor_commit since it updates the dimenstions, I don't know what consequences that will have though.

@ddevault ddevault requested a review from emersion October 7, 2018 21:02
@emersion
Copy link
Member

emersion commented Oct 7, 2018

Maybe it should be called inside output_cursor_commit since it updates the dimenstions, I don't know what consequences that will have though.

That seems like a good idea. Can you try doing this?

@ixru
Copy link
Author

ixru commented Oct 8, 2018

This emits request_set_cursor twice on every surface entry so it's not perfect.

@ddevault ddevault merged commit 6c7e0e4 into swaywm:master Oct 21, 2018
@ddevault
Copy link
Contributor

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants