moetunes/dminimalwm — pull request #6 by c00kiemon5ter (2011-11-27 12:32:34+00:00)
Title: switch between current and previous visited desktop

introduce `toggle_desktop()` function and `previous_desktop` variable.
`previous_desktop` hold the desktop that was previously visited.
`toggle_desktop()` toggles between current and previously visited desktop.

In action, navigate to desktop 1, open some windows; switch to desktop 3 and do the same.
Now use Mod1(Alt)-Tab to switch between desktop1 and desktop3.