diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-04-24 20:28:19 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-04-24 19:12:24 -0600 |
commit | 462ad4ea8380f29ad7a81d65bc144cb0ac6f5d8f (patch) | |
tree | 7d83afea78abc6b9e754b05e156ab25b22dce972 /sway/ipc-json.c | |
parent | dc7a3930a7ffd4435c9215c7cce0afa37d06c91f (diff) |
cmd_move: respect workspace layout when inserting
When moving a container to become a direct child of the workspace and
the workspace's layout is tabbed or stacked, wrap it in a container
with the same layout. This allows for the following:
- Run `layout tabbed|stacked` on an empty workspace (or use
`workspace_layout tabbed|stacked` in the config)
- Open some views
- Move one of the views in any direction
- Open another view
- The new container should also be `tabbed`/`stacked`
Diffstat (limited to 'sway/ipc-json.c')
0 files changed, 0 insertions, 0 deletions