mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-27 05:59:13 +02:00
fix(cli): respect named ws send behaviour
This commit ensures that the "send" behaviour is respected in named-workspace command variants such as send-to-named-workspace.
This commit is contained in:
@@ -1065,6 +1065,7 @@ impl WindowManager {
|
||||
|
||||
target_monitor.add_container(container, workspace_idx)?;
|
||||
|
||||
if follow {
|
||||
if let Some(workspace_idx) = workspace_idx {
|
||||
target_monitor.focus_workspace(workspace_idx)?;
|
||||
}
|
||||
@@ -1072,7 +1073,6 @@ impl WindowManager {
|
||||
target_monitor.load_focused_workspace(mouse_follows_focus)?;
|
||||
target_monitor.update_focused_workspace(offset)?;
|
||||
|
||||
if follow {
|
||||
self.focus_monitor(monitor_idx)?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user