aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-15 15:26:05 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-15 15:26:05 -0400
commitd5ff5e98fabfef53958b2a6782578756ba29fb7b (patch)
tree8b52847e1e1decd0e972735fdb386f57e28b5e49 /sway/commands.c
parent8b90f283bc58d50288325097b3aeea617277d7a3 (diff)
Fix build
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 6ccc92fd..742d6b86 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -226,7 +226,6 @@ static bool cmd_set(struct sway_config *config, int argc, char **argv) {
list_add(config->symbols, var);
return true;
}
-static void container_log(const swayc_t *c);
static bool _do_split(struct sway_config *config, int argc, char **argv, int layout) {
char *name = layout == L_VERT ? "splitv" :
@@ -236,8 +235,6 @@ static bool _do_split(struct sway_config *config, int argc, char **argv, int lay
}
swayc_t *focused = get_focused_container(&root_container);
- container_log(focused);
-
/* Case that focus is on an workspace with 0/1 children.change its layout */
if (focused->type == C_WORKSPACE && focused->children->length <= 1) {
sway_log(L_DEBUG, "changing workspace layout");
@@ -256,7 +253,7 @@ static bool _do_split(struct sway_config *config, int argc, char **argv, int lay
focus_view(focused);
arrange_windows(parent, -1, -1);
}
- container_log(focused);
+
return true;
}