summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 0935cafc..0adda3e7 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -237,7 +237,7 @@ static bool _do_split(struct sway_config *config, int argc, char **argv, int lay
237 swayc_t *focused = get_focused_container(&root_container); 237 swayc_t *focused = get_focused_container(&root_container);
238 if (focused->type == C_WORKSPACE) { 238 if (focused->type == C_WORKSPACE) {
239 sway_log(L_DEBUG, "Dont split workspaces"); 239 sway_log(L_DEBUG, "Dont split workspaces");
240 if(focused->children->length == 0) { 240 if (focused->children->length == 0) {
241 focused->layout = layout; 241 focused->layout = layout;
242 } 242 }
243 return true; 243 return true;