Save window config when switching desktops