diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2020-10-25 14:20:11 -0700 |
---|---|---|
committer | Tudor Brindus <me@tbrindus.ca> | 2020-12-20 00:58:42 -0500 |
commit | ece6a1d408456ade74c88dee7d4b9e0491f0bdaf (patch) | |
tree | 09f5a40a02347c927a91ab66da6c794cfd787c97 /sway/input | |
parent | b4850876dc609830575531fd6e0ca696c956ae94 (diff) | |
download | sway-ece6a1d408456ade74c88dee7d4b9e0491f0bdaf.tar.xz |
Change workspace_layout to match i3 behavior
In i3, the workspace_layout command does not affect the
workspace layout. Instead, new workspace level containers
are wrapped in the desired layout and the workspace layout
always defaults to the output orientation.
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/seatop_move_tiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seatop_move_tiling.c b/sway/input/seatop_move_tiling.c index c7285bec..704e7270 100644 --- a/sway/input/seatop_move_tiling.c +++ b/sway/input/seatop_move_tiling.c @@ -247,7 +247,7 @@ static void finalize_move(struct sway_seat *seat) { // Moving container into empty workspace if (target_node->type == N_WORKSPACE && edge == WLR_EDGE_NONE) { - workspace_add_tiling(new_ws, con); + con = workspace_add_tiling(new_ws, con); } else if (target_node->type == N_CONTAINER) { // Moving container before/after another struct sway_container *target = target_node->sway_container; |