From: Christopher Michael Date: Sat, 11 Aug 2012 14:09:02 +0000 (+0100) Subject: Add support for X cursor themes. X-Git-Tag: submit/trunk/20120814.151747~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b57694ca0e9dc7d2845ce9fb0ac9c4b0ebc940ce;p=profile%2Fivi%2Fwayland.git Add support for X cursor themes. This patch adds a few more directories to search for xcursor themes. Along with the weston patch, this adds the ability to configure weston to use an X11 cursor theme. Previously, wayland cursor would just look in the icons and pixmaps directories for cursor images to load. This adds the ability to also search in the x cursors directory. --- diff --git a/cursor/xcursor.c b/cursor/xcursor.c index f08225c..1f66bce 100644 --- a/cursor/xcursor.c +++ b/cursor/xcursor.c @@ -606,7 +606,7 @@ XcursorFileLoadImages (FILE *file, int size) #endif #ifndef XCURSORPATH -#define XCURSORPATH "~/.icons:/usr/share/icons:/usr/share/pixmaps:"ICONDIR +#define XCURSORPATH "~/.icons:/usr/share/icons:/usr/share/pixmaps:~/.cursors:/usr/share/cursors/xorg-x11:"ICONDIR #endif static const char *