Mouse MCS plugin - cursor theme paths

Brian J. Tarricone bjt23 at cornell.edu
Sun Jan 29 19:34:56 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pasi Orovuo wrote:
> Hey everyone,
> 
> Some time back, the possibility of changing mouse cursor themes was
> added to the mouse mcs plugin. The code currently uses hard coded
> cursor theme search paths, which has a bunch of problems. I finally
> looked into it, and it appears that Xcursor, at least to some extent,
> tries to adhere to fd.o icon theme spec, which makes obtaining the
> correct paths quite easy. At least to me it seems sufficient to use[1]
> xfce_resource_dirs( XFCE_RESOURCE_ICONS ) without additional
> trickery.
> 
> This however has a small drawback. At least Gentoo seems to use some
> archaic RH patch, which messes the Xcursor lookup paths completely,
> and makes them X vendor dependant, which of course renders
> xfce_resource_dirs() unusable. It's a Gentoo problem though, and I'd say
> it's okay to break the cursor change (from system locations) for
> Gentooers, at least until they've fixed it (bug filed).
> 
> -Pasi
> 
> [1]:
> http://medusa.tutka.fi/~pasi/mouse_plugin_remove_hardcoded_paths.patch

I'd prefer leaving in the current lookup code for the time being as a
fallback, but check the proper XDG directories first.  Otherwise, the
end result is that we'll get multiple spurious bug reports, which will
annoy me to no end.

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD3QrQ6XyW6VEeAnsRAsOrAKCm4nDQYR5EnVG8GEiAmITr3gSfyACfY4N1
ERE9i9dSYVubudCqDEP1xH8=
=Jt3Q
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list