Forward XAUTHORITY variable to the plugin environment - this fixes a plugin issue in some cases on Unix

This commit is contained in:
rdb 2009-12-02 17:03:24 +00:00
parent 0f7e4c7344
commit 97982327f1
2 changed files with 3 additions and 3 deletions

View File

@ -186,7 +186,7 @@ start_p3dcert() {
"SYSTEMROOT", "USERPROFILE", "COMSPEC",
#endif
#ifdef HAVE_X11
"DISPLAY",
"DISPLAY", "XAUTHORITY",
#endif
NULL
};

View File

@ -863,7 +863,7 @@ start_p3dpython(P3DInstance *inst) {
"SYSTEMROOT", "USERPROFILE", "COMSPEC",
#endif
#ifdef HAVE_X11
"DISPLAY",
"DISPLAY", "XAUTHORITY",
#endif
NULL
};