diff options
Diffstat (limited to 'include/sway/layout.h')
-rw-r--r-- | include/sway/layout.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/layout.h b/include/sway/layout.h index b982365c..38096947 100644 --- a/include/sway/layout.h +++ b/include/sway/layout.h | |||
@@ -75,4 +75,7 @@ void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, .. | |||
75 | */ | 75 | */ |
76 | enum swayc_layouts default_layout(swayc_t *output); | 76 | enum swayc_layouts default_layout(swayc_t *output); |
77 | 77 | ||
78 | inline bool is_auto_layout(enum swayc_layouts layout) { | ||
79 | return (layout >= L_AUTO_LEFT) && (layout <= L_AUTO_BOTTOM); | ||
80 | } | ||
78 | #endif | 81 | #endif |