lbonn / rofi

Rofi: A window switcher, run dialog and dmenu replacement - fork with wayland support
Other
876 stars 35 forks source link

Fallback wayland cursor theme to XCURSOR_THEME #87

Open guillaumeboehm opened 10 months ago

guillaumeboehm commented 10 months ago

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

alebastr commented 6 months ago

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