diff options
author | wil <william.barsse@gmail.com> | 2017-01-01 22:02:19 +0100 |
---|---|---|
committer | wil <william.barsse@gmail.com> | 2017-01-01 22:02:19 +0100 |
commit | 704b2db050cf3dfc6bde57771ae58bb48e0eb96c (patch) | |
tree | 7c7061ce00db9847961f486cc8b776bedb854cbb /sway/layout.c | |
parent | [fix] cleanups suggested by Sway community (diff) | |
parent | Document new layout command syntax (diff) | |
download | sway-704b2db050cf3dfc6bde57771ae58bb48e0eb96c.tar.gz sway-704b2db050cf3dfc6bde57771ae58bb48e0eb96c.tar.zst sway-704b2db050cf3dfc6bde57771ae58bb48e0eb96c.zip |
Merge branch 'master' of https://github.com/willakat/sway
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/layout.c b/sway/layout.c index faab9196..377dad47 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -821,10 +821,6 @@ void update_geometry(swayc_t *container) { | |||
821 | } | 821 | } |
822 | } | 822 | } |
823 | 823 | ||
824 | bool is_auto_layout(enum swayc_layouts layout) { | ||
825 | return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST); | ||
826 | } | ||
827 | |||
828 | /** | 824 | /** |
829 | * Layout application prototypes | 825 | * Layout application prototypes |
830 | */ | 826 | */ |
@@ -1503,3 +1499,7 @@ enum swayc_layouts default_layout(swayc_t *output) { | |||
1503 | return L_VERT; | 1499 | return L_VERT; |
1504 | } | 1500 | } |
1505 | } | 1501 | } |
1502 | |||
1503 | bool is_auto_layout(enum swayc_layouts layout) { | ||
1504 | return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST); | ||
1505 | } | ||