e: fix missing xcursor in e17
I discovered that at least for 1 week xcursor is not shown if it was installed in system directory (/usr/share/icons), so i guess i will fix a fix. Fixes #1556 Patch by Sergei Kabanov SVN revision: 77153
This commit is contained in:
parent
50f569ff5e
commit
7c4fa48ab6
|
@ -535,11 +535,17 @@ _e_xsettings_cursor_path_set(void)
|
||||||
path = getenv("XCURSOR_PATH");
|
path = getenv("XCURSOR_PATH");
|
||||||
if (path)
|
if (path)
|
||||||
{
|
{
|
||||||
snprintf(env, sizeof(env), "%s:%s", buf, path);
|
if (!strstr(path, buf))
|
||||||
path = env;
|
{
|
||||||
|
snprintf(env, sizeof(env), "%s:%s", buf, path);
|
||||||
|
path = env;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
path = buf;
|
{
|
||||||
|
snprintf(env, sizeof(env), "%s:%s", buf, "/usr/share/icons");
|
||||||
|
path = env;
|
||||||
|
}
|
||||||
e_env_set("XCURSOR_PATH", path);
|
e_env_set("XCURSOR_PATH", path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue