mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
protection against doubled wm output
This commit is contained in:
parent
174078bcce
commit
1b4cf9270f
2
inxi
2
inxi
|
@ -16281,7 +16281,7 @@ sub generate_system_data {
|
||||||
if ($extra > 2 && $desktop_data[4]){
|
if ($extra > 2 && $desktop_data[4]){
|
||||||
$desktop_info = $desktop_data[4];
|
$desktop_info = $desktop_data[4];
|
||||||
}
|
}
|
||||||
if ($desktop_data[5]){
|
if ($desktop_data[5] && (!$desktop_data[0] || lc($desktop_data[0]) ne lc($desktop_data[5]))){
|
||||||
$wm = $desktop_data[5];
|
$wm = $desktop_data[5];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue