greedyView

Set focus to the given workspace. If that workspace does not exist in the stackset, the original workspace is returned. If that workspace is hidden, then display that workspace on the current screen, and move the current workspace to hidden. If that workspace is visible on another screen, the workspaces of the current screen and the other screen are swapped.
A version of W.greedyView that tracks the need to refresh.
Switch to workspace i on screen sc. If i is visible use greedyView to switch the current workspace with workspace i.