Try to keep track of the previous focus in each workspace, and do something more intuitive when the user does M-enter twice: swap the windows back.
Try to keep track of the previous focus in each workspace, and do something
more intuitive when the user does M-enter twice: swap the windows back.

conformal/spectrwm,conformal/spectrwm,conformal/spectrwm