Some desktop files have multiple sections, but for now we're only
interested in [Desktop Entry]. Without this patch, every entry was seen
as part of the [Desktop Entry] session, resulting in values getting
Additionally, the Hidden=true property specifies that the desktop file
needs to be treated like it was non-existant.
Same as https://github.com/sddm/sddm/pull/821 for sddm.