diff options
author | 2015-08-13 12:26:39 -0700 | |
---|---|---|
committer | 2015-08-13 12:26:39 -0700 | |
commit | 7d294213d1bcfd90052a533588e7d29d1aa96e88 (patch) | |
tree | 4f3b569afac0436960e4627b25ec87f102103e31 /sway | |
parent | change workspace layout when trying to split it (diff) | |
download | sway-7d294213d1bcfd90052a533588e7d29d1aa96e88.tar.gz sway-7d294213d1bcfd90052a533588e7d29d1aa96e88.tar.zst sway-7d294213d1bcfd90052a533588e7d29d1aa96e88.zip |
style
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands.c | 2 |
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; |