Re-add missing environment variables (#446)

pull/469/head
Simon Struck 1 year ago committed by GitHub
parent 19153760d3
commit 77eb456410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -618,8 +618,11 @@ void auth(
char vt[5];
snprintf(vt, 5, "vt%d", config.tty);
// set env
// set env (this clears the environment)
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())
{

Loading…
Cancel
Save