Skip to content
Snippets Groups Projects
Commit 05c0a504 authored by Brendan McGrath's avatar Brendan McGrath Committed by Alexandre Julliard
Browse files

ntdll: Treat XDG_SESSION_TYPE as special env variable.

This can be used to incorrectly determine the availability of X graphics.
parent 9062376b
No related branches found
No related tags found
No related merge requests found
......@@ -341,7 +341,8 @@ static BOOL is_special_env_var( const char *var )
STARTS_WITH( var, "TEMP=" ) ||
STARTS_WITH( var, "TMP=" ) ||
STARTS_WITH( var, "QT_" ) ||
STARTS_WITH( var, "VK_" ));
STARTS_WITH( var, "VK_" ) ||
STARTS_WITH( var, "XDG_SESSION_TYPE=" ));
}
/* check if an environment variable changes dynamically in every new process */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment