summaryrefslogtreecommitdiffstats
path: root/include/sway/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/layout.h')
-rw-r--r--include/sway/layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/layout.h b/include/sway/layout.h
index 38096947..a771a72e 100644
--- a/include/sway/layout.h
+++ b/include/sway/layout.h
@@ -76,6 +76,6 @@ void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ..
76enum swayc_layouts default_layout(swayc_t *output); 76enum swayc_layouts default_layout(swayc_t *output);
77 77
78inline bool is_auto_layout(enum swayc_layouts layout) { 78inline bool is_auto_layout(enum swayc_layouts layout) {
79 return (layout >= L_AUTO_LEFT) && (layout <= L_AUTO_BOTTOM); 79 return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
80} 80}
81#endif 81#endif