Add Linux WM and compositor to platform info

Fixes https://gitlab.com/kicad/code/kicad/issues/5806
This commit is contained in:
Seth Hillbrand 2020-09-28 09:41:28 -07:00
parent f745036d82
commit eea8869bdd
1 changed files with 7 additions and 2 deletions

View File

@ -109,9 +109,14 @@ wxString GetVersionInfoData( const wxString& aTitle, bool aHtml, bool aBrief )
aMsg << "Platform: " << wxGetOsDescription() << ", "
<< platform.GetArchName() << ", "
<< platform.GetEndiannessName() << ", "
<< platform.GetPortIdName() << eol;
<< platform.GetPortIdName();
aMsg << eol;
#ifdef __WXGTK__
aMsg << ", " << wxGetenv( "XDG_SESSION_DESKTOP" )
<< ", " << wxGetenv( "XDG_SESSION_TYPE" );
#endif
aMsg << eol << eol;
if( !aBrief )
aMsg << "Build Info:" << eol;