Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

#24 ensure that xwayland cursor defaults to left_ptr #32

Merged
merged 3 commits into from
Dec 25, 2020
Merged

#24 ensure that xwayland cursor defaults to left_ptr #32

merged 3 commits into from
Dec 25, 2020

Conversation

alex-courtis
Copy link
Contributor

Set the default cursor for X to left_ptr.

static struct wlr_xcursor_manager *cursor_mgr;
static struct wlr_xcursor_manager *xcursor_mgr;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These two could be local.

@alex-courtis
Copy link
Contributor Author

This is ready for merge @djpohly

@djpohly
Copy link
Owner

djpohly commented Aug 23, 2020

Hm... why does this require two xcursor_managers?

@alex-courtis
Copy link
Contributor Author

Hm... why does this require two xcursor_managers?

I took inspiration from sway here: it creates two xcursor_managers. I'd prefer not to share between the wayland/xwayland worlds lest we end up coupling them.

We could try with one and see how it goes...

@djpohly djpohly merged commit cfe7815 into djpohly:master Dec 25, 2020
djpohly pushed a commit that referenced this pull request Dec 25, 2020
Don't show an X cursor when closing an Xwayland window or with certain
dropdowns.

Based on #32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants