aboutsummaryrefslogtreecommitdiff
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) {
}
}
-bool is_auto_layout(enum swayc_layouts layout) {
- return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
-}
-
/**
* Layout application prototypes
*/
@@ -1503,3 +1499,7 @@ enum swayc_layouts default_layout(swayc_t *output) {
return L_VERT;
}
}
+
+bool is_auto_layout(enum swayc_layouts layout) {
+ return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
+}