aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/commands/split.c4
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 @@
10 10
11static struct cmd_results *do_split(int layout) { 11static struct cmd_results *do_split(int layout) {
12 struct sway_container *con = config->handler_context.current_container; 12 struct sway_container *con = config->handler_context.current_container;
13 if (container_is_floating(con)) {
14 return cmd_results_new(CMD_FAILURE, "split",
15 "Can't split a floating view");
16 }
17 struct sway_container *parent = container_split(con, layout); 13 struct sway_container *parent = container_split(con, layout);
18 container_create_notify(parent); 14 container_create_notify(parent);
19 arrange_windows(parent->parent); 15 arrange_windows(parent->parent);