[PATCH weston] window: allow changing cursor theme and size

Pekka Paalanen ppaalanen at gmail.com
Mon May 14 23:21:37 PDT 2012

On Mon, 14 May 2012 14:39:39 -0400
Kristian Høgsberg <krh at bitplanet.net> wrote:

> On Mon, May 14, 2012 at 9:59 AM, Kristian Høgsberg <hoegsberg at gmail.com> wrote:
> > On Mon, May 14, 2012 at 02:01:50PM +0300, Pekka Paalanen wrote:
> >> Toytoolkit clients will now use two new environment variables:
> >>
> >>
> >> where 'theme' can be e.g. whiteglass if you have the basic X.Org cursor
> >> themes installed. 'size' is a cursor size hint 4-64, by default 32.
> >
> > Should we make it a weston.ini option instead?
> On second thought, can you just put this in
> /usr/share/icons/default/index.theme:
> [Icon Theme]
> Inherits=whiteglass
> and have that work?

Hi Kristian,

isn't there a danger of that setting getting into X?
Of course, I'd put that somewhere under $HOME where libXcursor also
searches in.

Personally I'd like to change cursors in Weston and Weston only,
leaving my (host) X server using whatever it happens to be using now.
Yes, it makes the cursor change appearance between Weston-on-X and
other X apps, but that is what I'd like.

I didn't make it a weston.ini option, since toytoolkit clients do not
use an .ini by default. Or did I miss something?


More information about the wayland-devel mailing list