mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-01-02 21:40:14 +01:00
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.
This commit is contained in:
parent
89eddb4245
commit
b57694ca0e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue