inclement / vivarium

A dynamic tiling Wayland compositor using wlroots
GNU General Public License v3.0
367 stars 13 forks source link

Views being mapped and unmapped causes refocus #114

Open inclement opened 2 years ago

inclement commented 2 years ago

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.