Switch workspaces by clicking a pill or scrolling over the widget, and focus a window by clicking its icon.
Limit Optional settings let a middle-click on an icon close that window and a click on the active workspace return to the previous one; both are off by default. Scroll switching can be turned off.