Add Linux WM and compositor to platform info
Fixes https://gitlab.com/kicad/code/kicad/issues/5806
This commit is contained in:
parent
f745036d82
commit
eea8869bdd
|
@ -109,9 +109,14 @@ wxString GetVersionInfoData( const wxString& aTitle, bool aHtml, bool aBrief )
|
||||||
aMsg << "Platform: " << wxGetOsDescription() << ", "
|
aMsg << "Platform: " << wxGetOsDescription() << ", "
|
||||||
<< platform.GetArchName() << ", "
|
<< platform.GetArchName() << ", "
|
||||||
<< platform.GetEndiannessName() << ", "
|
<< 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 )
|
if( !aBrief )
|
||||||
aMsg << "Build Info:" << eol;
|
aMsg << "Build Info:" << eol;
|
||||||
|
|
Loading…
Reference in New Issue