mirror of https://github.com/fairyglade/ly.git
Re-add missing environment variables (#446)
This commit is contained in:
parent
19153760d3
commit
77eb456410
|
|
@ -618,8 +618,11 @@ void auth(
|
||||||
char vt[5];
|
char vt[5];
|
||||||
snprintf(vt, 5, "vt%d", config.tty);
|
snprintf(vt, 5, "vt%d", config.tty);
|
||||||
|
|
||||||
// set env
|
// set env (this clears the environment)
|
||||||
env_init(pwd);
|
env_init(pwd);
|
||||||
|
// Re-add XDG environment variables from lines 508,509
|
||||||
|
env_xdg_session(desktop->display_server[desktop->cur]);
|
||||||
|
env_xdg(tty_id, desktop->list_simple[desktop->cur]);
|
||||||
|
|
||||||
if (dgn_catch())
|
if (dgn_catch())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue