aboutsummaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c8
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
824bool 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
1503bool is_auto_layout(enum swayc_layouts layout) {
1504 return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
1505}