mirror of
https://github.com/swaywm/sway.git
synced 2024-11-05 16:03:11 +00:00
Fix inline is_auto_layout
This commit is contained in:
parent
15745abf0c
commit
c01b898398
|
@ -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