Commit b8c92a26 authored by Kevin E Martin's avatar Kevin E Martin

Allow hard-coded paths to be configurable.

parent af09e8d8
......@@ -30,7 +30,9 @@
#define ICONDIR "/usr/X11R6/lib/X11/icons"
#endif
#define CURSORPATH "~/.icons:/usr/share/icons:/usr/share/pixmaps:"ICONDIR
#ifndef XCURSORPATH
#define XCURSORPATH "~/.icons:/usr/share/icons:/usr/share/pixmaps:"ICONDIR
#endif
const char *
XcursorLibraryPath (void)
......@@ -41,7 +43,7 @@ XcursorLibraryPath (void)
{
path = getenv ("XCURSOR_PATH");
if (!path)
path = CURSORPATH;
path = XCURSORPATH;
}
return path;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment