summaryrefslogtreecommitdiff
path: root/cursor
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2012-08-11 15:09:02 +0100
committerKristian Høgsberg <krh@bitplanet.net>2012-08-13 11:02:56 -0400
commitb57694ca0e9dc7d2845ce9fb0ac9c4b0ebc940ce (patch)
treebfd7912c4b2aaff65f5ddd6dead81a2ff151ee14 /cursor
parent89eddb4245380229094e03aea01d6c598386ab75 (diff)
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.
Diffstat (limited to 'cursor')
-rw-r--r--cursor/xcursor.c2
1 files changed, 1 insertions, 1 deletions
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 *