Skip to content

Commit b51e29b

Browse files
committed
Fix incorrect MoveNodeToWorkspaceCommand exit code
#1563 The regression got introduced in 0165497 Apparently, I was drunk
1 parent c61f7f7 commit b51e29b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AppBundle/command/impl/MoveNodeToWorkspaceCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ func moveWindowToWorkspace(_ window: Window, _ targetWorkspace: Workspace, _ io:
3636
}
3737
let targetContainer: NonLeafTreeNodeObject = window.isFloating ? targetWorkspace : targetWorkspace.rootTilingContainer
3838
window.bind(to: targetContainer, adaptiveWeight: WEIGHT_AUTO, index: index)
39-
return focusFollowsWindow ? window.focusWindow() : false
39+
return focusFollowsWindow ? window.focusWindow() : true
4040
}

0 commit comments

Comments
 (0)