aboutsummaryrefslogtreecommitdiff
path: root/include/sway/layout.h
diff options
context:
space:
mode:
authorwil <william.barsse@gmail.com>2017-01-01 21:52:49 +0100
committerwil <william.barsse@gmail.com>2017-01-01 21:52:49 +0100
commit97f70987d70315c683fd1e16c731b396679f6b96 (patch)
treed8f9649c86010ed5e3c1f109e789af680aad717b /include/sway/layout.h
parenta62048f15d9381e3040bd45965233e59a041eab7 (diff)
[fix] cleanups suggested by Sway community
Diffstat (limited to 'include/sway/layout.h')
-rw-r--r--include/sway/layout.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/sway/layout.h b/include/sway/layout.h
index a771a72e..8cc513d8 100644
--- a/include/sway/layout.h
+++ b/include/sway/layout.h
@@ -75,7 +75,5 @@ void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ..
*/
enum swayc_layouts default_layout(swayc_t *output);
-inline bool is_auto_layout(enum swayc_layouts layout) {
- return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
-}
+bool is_auto_layout(enum swayc_layouts layout);
#endif