diff options
author | Drew DeVault <[email protected]> | 2018-07-28 09:30:12 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2018-07-28 09:30:12 -0400 |
commit | 53069f1403587d230e8f2c6adb61daa7c5e022b7 (patch) | |
tree | 67b966d2736ba19540b0102381710f9fb5316e61 /sway/commands/split.c | |
parent | e4b54ac16e52cea9fe7f8385e87033764d36522f (diff) | |
parent | 0337609667ad1d01e0e0dc19231373df3fbf7c87 (diff) |
Merge pull request #2360 from RyanDwyer/floating-containers
Allow containers to float
Diffstat (limited to 'sway/commands/split.c')
-rw-r--r-- | sway/commands/split.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/commands/split.c b/sway/commands/split.c index 313799da..a8eddf54 100644 --- a/sway/commands/split.c +++ b/sway/commands/split.c @@ -10,10 +10,6 @@ static struct cmd_results *do_split(int layout) { struct sway_container *con = config->handler_context.current_container; - if (container_is_floating(con)) { - return cmd_results_new(CMD_FAILURE, "split", - "Can't split a floating view"); - } struct sway_container *parent = container_split(con, layout); container_create_notify(parent); arrange_windows(parent->parent); |