aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
authorwil <william.barsse@gmail.com>2017-01-01 22:02:19 +0100
committerwil <william.barsse@gmail.com>2017-01-01 22:02:19 +0100
commit704b2db050cf3dfc6bde57771ae58bb48e0eb96c (patch)
tree7c7061ce00db9847961f486cc8b776bedb854cbb /sway/layout.c
parent97f70987d70315c683fd1e16c731b396679f6b96 (diff)
parent0412e95ba99581a32513eb241e6ac2c4e4ed03dc (diff)
Merge branch 'master' of https://github.com/willakat/sway
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);
+}