Client: Fix desktop environment check for decorations


XDG_CURRENT_DESKTOP is an array and the current check doesn't work
on e.g. Ubuntu

Pick-to: 6.8
Change-Id: Iff049ad8dd432191f815c6c079448af02dc7a09a
Reviewed-by: David Edmundson <davidedmundson@kde.org>
commit65753961efec006705c0aeccbcce3e4d075837e1
parent56a81f359c7c17b834c041e12441e8afc8d29d59
authorIlya Fedin <fedin-ilja2010@ya.ru>
committerIlya Fedin <fedin-ilja2010@ya.ru>
commit timeSat, 7 Sep 2024 21:19:21 +0400