Browse Source

preserve $DISPLAY

David Rose 16 years ago
parent
commit
205a478b9d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      direct/src/plugin/p3dSession.cxx

+ 3 - 0
direct/src/plugin/p3dSession.cxx

@@ -761,6 +761,9 @@ start_p3dpython(P3DInstance *inst) {
     "TMP", "TEMP", "HOME", "USER", 
 #ifdef _WIN32
     "SYSTEMROOT", "USERPROFILE", "COMSPEC", "PANDA_ROOT",
+#endif
+#ifdef HAVE_X11
+    "DISPLAY",
 #endif
     NULL
   };