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

Pekka Paalanen ppaalanen at gmail.com
Mon May 14 04:07:31 PDT 2012


On Mon, 14 May 2012 14:01:50 +0300
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> Toytoolkit clients will now use two new environment variables:
> 
> TOYTOOLKIT_CURSOR_THEME=theme
> TOYTOOLKTI_CURSOR_SIZE=size
> 
> 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.
> 
> See the Xcursor man page for how cursors are found for a theme.
> 
> Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
> ---
>  clients/window.c |   23 ++++++++++++++++++++---
>  1 files changed, 20 insertions(+), 3 deletions(-)

Forgot to mention, that this can fix the problem of missing mouse
cursors for theme "default" not found, which can be seen in the dump of
e.g.

$ strace -e open clients/clickdot


Thanks,
pq


More information about the wayland-devel mailing list