diff options
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/layout.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index 97007888..73c4849b 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c | |||
@@ -160,12 +160,11 @@ void container_move_to(struct sway_container* container, | |||
160 | 160 | ||
161 | enum sway_container_layout container_get_default_layout( | 161 | enum sway_container_layout container_get_default_layout( |
162 | struct sway_container *output) { | 162 | struct sway_container *output) { |
163 | /* TODO WLR | ||
164 | if (config->default_layout != L_NONE) { | 163 | if (config->default_layout != L_NONE) { |
165 | //return config->default_layout; | 164 | return config->default_layout; |
166 | } else if (config->default_orientation != L_NONE) { | 165 | } else if (config->default_orientation != L_NONE) { |
167 | return config->default_orientation; | 166 | return config->default_orientation; |
168 | } else */if (output->width >= output->height) { | 167 | } else if (output->width >= output->height) { |
169 | return L_HORIZ; | 168 | return L_HORIZ; |
170 | } else { | 169 | } else { |
171 | return L_VERT; | 170 | return L_VERT; |