From b57694ca0e9dc7d2845ce9fb0ac9c4b0ebc940ce Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Sat, 11 Aug 2012 15:09:02 +0100 Subject: 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. --- cursor/xcursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cursor/xcursor.c') 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 * -- cgit v1.2.3-70-g09d2