aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/container.h4
-rw-r--r--include/sway/layout.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/include/sway/container.h b/include/sway/container.h
index f0574b1b..ff65628c 100644
--- a/include/sway/container.h
+++ b/include/sway/container.h
@@ -158,12 +158,12 @@ struct sway_container {
158 /** 158 /**
159 * Number of master views in auto layouts. 159 * Number of master views in auto layouts.
160 */ 160 */
161 uint32_t nb_master; 161 size_t nb_master;
162 162
163 /** 163 /**
164 * Number of slave groups (e.g. columns) in auto layouts. 164 * Number of slave groups (e.g. columns) in auto layouts.
165 */ 165 */
166 uint32_t nb_slave_groups; 166 size_t nb_slave_groups;
167}; 167};
168 168
169enum visibility_mask { 169enum visibility_mask {
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, ..
75 */ 75 */
76enum swayc_layouts default_layout(swayc_t *output); 76enum swayc_layouts default_layout(swayc_t *output);
77 77
78inline bool is_auto_layout(enum swayc_layouts layout) { 78bool is_auto_layout(enum swayc_layouts layout);
79 return (layout >= L_AUTO_FIRST) && (layout <= L_AUTO_LAST);
80}
81#endif 79#endif