mirror of
https://github.com/NickHu/sway
synced 2024-11-16 19:49:56 +01:00
Fix inline is_auto_layout
This commit is contained in:
parent
15745abf0c
commit
c01b898398
2 changed files with 6 additions and 3 deletions
|
@ -75,7 +75,6 @@ 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
|
||||
|
|
|
@ -1487,3 +1487,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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue