virgo
virgo copied to clipboard
remember focused window when switching desktops
i was a bit annoyed that switching desktops would sometimes keep the hidden window focused and make me accidentally type into it so I made this simple edit that remembers the focused window for each desktop
the focus restore should silently fail and not cause issues if the window is somehow closed while it's hidden