mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-27 14:09:30 +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,14 +1065,14 @@ impl WindowManager {
|
|||||||
|
|
||||||
target_monitor.add_container(container, workspace_idx)?;
|
target_monitor.add_container(container, workspace_idx)?;
|
||||||
|
|
||||||
if let Some(workspace_idx) = workspace_idx {
|
|
||||||
target_monitor.focus_workspace(workspace_idx)?;
|
|
||||||
}
|
|
||||||
|
|
||||||
target_monitor.load_focused_workspace(mouse_follows_focus)?;
|
|
||||||
target_monitor.update_focused_workspace(offset)?;
|
|
||||||
|
|
||||||
if follow {
|
if follow {
|
||||||
|
if let Some(workspace_idx) = workspace_idx {
|
||||||
|
target_monitor.focus_workspace(workspace_idx)?;
|
||||||
|
}
|
||||||
|
|
||||||
|
target_monitor.load_focused_workspace(mouse_follows_focus)?;
|
||||||
|
target_monitor.update_focused_workspace(offset)?;
|
||||||
|
|
||||||
self.focus_monitor(monitor_idx)?;
|
self.focus_monitor(monitor_idx)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user