[PATCH v2 weston 1/2] xwm: Use cursor theme and size in weston.ini

Boyan Ding stu_dby at 126.com
Wed Aug 20 05:31:55 PDT 2014


On Wed, 2014-08-20 at 14:47 +0300, Pekka Paalanen wrote:
> Hi,
> 
> yeah, that's better, but I do wonder if that is actually what we want.
> I see that this changes the cursors only for the decorations, but not
> for the X11 apps themselves.
> 
> So before, I think the cursors on X11 apps and decors were the same,
> but did not match Wayland apps.
> 
> Now cursors on X11 app decors match the Wayland apps, but not the X11
> apps.
> 
> Is this wanted?
> 
> Or should this rather need more fixes, so that weston.ini settings
> would be reflected in the environment of the X11 apps? But then would
> that not overwrite the settings made in e.g. Gtk themes or such?
> 
> Should weston.ini settings be reflected in Xwayland at all, and if yes,
> what is the right way to accomplish that?
> 
> 
> Thanks,
> pq

Yeah, you are quite right. I didn't think carefully about that before.

The theme here only controls decoration and now I believe that it should
be consistent with X applications. But I don't know much about how
theming is done in X. I wrote this patch just because I found the
default cursor size (32) looks ridiculously large, the cursor size on my
machine is 24 elsewhere. I don't think it is right behavior but I wonder
how to correct it.

Thanks,
Boyan Ding




More information about the wayland-devel mailing list