diff options
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index fb84423c..0ef8c5bf 100644 --- a/include/config.h +++ b/include/config.h | |||
@@ -163,6 +163,13 @@ enum edge_border_types { | |||
163 | E_BOTH /**< hide vertical and horizontal edge borders */ | 163 | E_BOTH /**< hide vertical and horizontal edge borders */ |
164 | }; | 164 | }; |
165 | 165 | ||
166 | enum floating_scroll_behavior { | ||
167 | FSB_GAPS_OUTER, /**< Adjust outer gaps */ | ||
168 | FSB_GAPS_INNER /**< Adjust inner gaps */ | ||
169 | // Note: in the future I expect to see more things you can do with the scroll | ||
170 | // wheel than maniuplating gaps | ||
171 | }; | ||
172 | |||
166 | /** | 173 | /** |
167 | * The configuration struct. The result of loading a config file. | 174 | * The configuration struct. The result of loading a config file. |
168 | */ | 175 | */ |
@@ -181,6 +188,7 @@ struct sway_config { | |||
181 | uint32_t floating_mod; | 188 | uint32_t floating_mod; |
182 | uint32_t dragging_key; | 189 | uint32_t dragging_key; |
183 | uint32_t resizing_key; | 190 | uint32_t resizing_key; |
191 | enum floating_scroll_behavior floating_scroll; // TODO: command to set this | ||
184 | enum swayc_layouts default_orientation; | 192 | enum swayc_layouts default_orientation; |
185 | enum swayc_layouts default_layout; | 193 | enum swayc_layouts default_layout; |
186 | char *font; | 194 | char *font; |