mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 09:41:52 -07:00
When XMonad was recently restarted, it can happen that the workspace history is empty, hence the last focused window could actually be the currently focused one. In that case, we don't want to go through the machinery of looking to hide any NSPs, as there is only one window in the current workspace (the focused one). This may or may not be a scratchpad, we don't care. Fixes: https://github.com/xmonad/xmonad-contrib/issues/779