Mapping and unmapping views causes refocusing (either to the new view or to the next view in the workspace), but this is undesirable if the workspace containing the view is not actually focused. It can lead to focus suddenly being given to a view in a non-visible workspace.
The refocusing should be changed to only apply if the affected workspace is active.
Mapping and unmapping views causes refocusing (either to the new view or to the next view in the workspace), but this is undesirable if the workspace containing the view is not actually focused. It can lead to focus suddenly being given to a view in a non-visible workspace.
The refocusing should be changed to only apply if the affected workspace is active.