p/switchscreen — pull request #1 by fs0 (2014-03-20 16:45:43+00:00)
Title: Save ID of focused window

I changed a few things to save the ID of the last focused window.
dwm (http://git.suckless.org/dwm/) didn't focus correctly.
I don't know if you want those changes or if they're any good, but I opened a pull request anyway in case you do.
(I didn't test it with other window managers)