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

Fallback wayland cursor theme to XCURSOR_THEME #87

Open
wants to merge 1 commit into
base: wayland
Choose a base branch
from

Conversation

guillaumeboehm
Copy link

If the wayland environment doesn't set the cursor properly but the XCURSOR_THEME variable is set, it should probably fallback to it.

source/wayland/display.c Outdated Show resolved Hide resolved
@alebastr
Copy link

alebastr commented Jan 8, 2024

Nothing else sets or uses wayland->cursor.theme_name, so IMO the patch could be simplified to

wayland->cursor.theme_name = (char *)g_getenv("XCURSOR_THEME");

somewhere in the wayland_display_setup

If the wayland environment doesn't set the cursor properly but the
XCURSOR_THEME variable is set, it should fallback to it.
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.

3 participants