Fixed logic bug switching from Cinnamon to XFCE