Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wm): avoid workspace load on cross monitor moves
This commit replaces the `window_manager.focus_workspace` call with a `monitor.focus_workspace` which doesn't load the workspace. There is no need to load the workspace when moving windows across monitors since those workspaces will already be loaded, we simply need to update them. Loading the workspace would cause some issues as well, like when moving a window to a floating workspace which already contained a window that matched some `floating_windows` rules was always putting the "floating_window" on top of the window we just moved with a bunch of focus flickering. This is fixed with this commit.
- Loading branch information