Skip to content

Commit

Permalink
Fixed the multiple window movement issue from #5382
Browse files Browse the repository at this point in the history
  • Loading branch information
slyshot committed Jun 14, 2023
1 parent a958701 commit db6dc2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions release-notes/bugfixes/3-moving-multiple
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed the multiple window movement issue from #5382
5 changes: 3 additions & 2 deletions src/move.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,9 @@ void tree_move(Con *con, direction_t direction) {
/* 1: get the first parent with the same orientation */

if (con->type == CT_WORKSPACE) {
DLOG("Not moving workspace\n");
return;
if ((con = workspace_encapsulate(con)) == NULL) {
return;
}
}

if (con->fullscreen_mode == CF_GLOBAL) {
Expand Down

0 comments on commit db6dc2b

Please sign in to comment.