diff options
-rw-r--r-- | sway/commands.c | 5 |
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) { | |||
226 | list_add(config->symbols, var); | 226 | list_add(config->symbols, var); |
227 | return true; | 227 | return true; |
228 | } | 228 | } |
229 | static void container_log(const swayc_t *c); | ||
230 | 229 | ||
231 | static bool _do_split(struct sway_config *config, int argc, char **argv, int layout) { | 230 | static bool _do_split(struct sway_config *config, int argc, char **argv, int layout) { |
232 | char *name = layout == L_VERT ? "splitv" : | 231 | char *name = layout == L_VERT ? "splitv" : |
@@ -236,8 +235,6 @@ static bool _do_split(struct sway_config *config, int argc, char **argv, int lay | |||
236 | } | 235 | } |
237 | swayc_t *focused = get_focused_container(&root_container); | 236 | swayc_t *focused = get_focused_container(&root_container); |
238 | 237 | ||
239 | container_log(focused); | ||
240 | |||
241 | /* Case that focus is on an workspace with 0/1 children.change its layout */ | 238 | /* Case that focus is on an workspace with 0/1 children.change its layout */ |
242 | if (focused->type == C_WORKSPACE && focused->children->length <= 1) { | 239 | if (focused->type == C_WORKSPACE && focused->children->length <= 1) { |
243 | sway_log(L_DEBUG, "changing workspace layout"); | 240 | 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 | |||
256 | focus_view(focused); | 253 | focus_view(focused); |
257 | arrange_windows(parent, -1, -1); | 254 | arrange_windows(parent, -1, -1); |
258 | } | 255 | } |
259 | container_log(focused); | 256 | |
260 | return true; | 257 | return true; |
261 | } | 258 | } |
262 | 259 | ||