protection against doubled wm output

This commit is contained in:
Harald Hope 2018-04-12 20:19:46 -07:00
parent 174078bcce
commit 1b4cf9270f

2
inxi
View file

@ -16281,7 +16281,7 @@ sub generate_system_data {
if ($extra > 2 && $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];
}
}