diff options
author | 2017-01-01 12:36:47 -0500 | |
---|---|---|
committer | 2017-01-01 12:36:47 -0500 | |
commit | c01b89839874239bee7948fad004b19a19917432 (patch) | |
tree | ee797ee90b9567a46577094b26468ddbc6dbef0b /include/sway | |
parent | [fix] cycle auto layouts backwards (diff) | |
download | sway-c01b89839874239bee7948fad004b19a19917432.tar.gz sway-c01b89839874239bee7948fad004b19a19917432.tar.zst sway-c01b89839874239bee7948fad004b19a19917432.zip |
Fix inline is_auto_layout
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/layout.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sway/layout.h b/include/sway/layout.h index a771a72e..d7fe748d 100644 --- a/include/sway/layout.h +++ b/include/sway/layout.h | |||
@@ -75,7 +75,6 @@ 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) { | 78 | bool is_auto_layout(enum swayc_layouts layout); |
79 | return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST); | 79 | |
80 | } | ||
81 | #endif | 80 | #endif |