diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-05-08 10:27:40 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-05-08 10:27:40 -0700 |
commit | db0e1d6bc138100d351a41191f8e631d0b2b941e (patch) | |
tree | ed2cbb25cb60138bac65178e50ab9cf717dad787 /include/config.h | |
parent | Merge pull request #638 from neosilky/memleak (diff) | |
parent | Remove FSB_GAPS_INNER and FSB_GAPS_OUTER (diff) | |
download | sway-db0e1d6bc138100d351a41191f8e631d0b2b941e.tar.gz sway-db0e1d6bc138100d351a41191f8e631d0b2b941e.tar.zst sway-db0e1d6bc138100d351a41191f8e631d0b2b941e.zip |
Merge pull request #645 from Hummer12007/floating_scroll
Implement configurable floating scroll behavior
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/config.h b/include/config.h index 8e5e33c3..e15ba311 100644 --- a/include/config.h +++ b/include/config.h | |||
@@ -166,13 +166,6 @@ enum edge_border_types { | |||
166 | E_BOTH /**< hide vertical and horizontal edge borders */ | 166 | E_BOTH /**< hide vertical and horizontal edge borders */ |
167 | }; | 167 | }; |
168 | 168 | ||
169 | enum floating_scroll_behavior { | ||
170 | FSB_GAPS_OUTER, /**< Adjust outer gaps */ | ||
171 | FSB_GAPS_INNER /**< Adjust inner gaps */ | ||
172 | // Note: in the future I expect to see more things you can do with the scroll | ||
173 | // wheel than maniuplating gaps | ||
174 | }; | ||
175 | |||
176 | /** | 169 | /** |
177 | * The configuration struct. The result of loading a config file. | 170 | * The configuration struct. The result of loading a config file. |
178 | */ | 171 | */ |
@@ -191,7 +184,8 @@ struct sway_config { | |||
191 | uint32_t floating_mod; | 184 | uint32_t floating_mod; |
192 | uint32_t dragging_key; | 185 | uint32_t dragging_key; |
193 | uint32_t resizing_key; | 186 | uint32_t resizing_key; |
194 | enum floating_scroll_behavior floating_scroll; // TODO: command to set this | 187 | char *floating_scroll_up_cmd; |
188 | char *floating_scroll_down_cmd; | ||
195 | enum swayc_layouts default_orientation; | 189 | enum swayc_layouts default_orientation; |
196 | enum swayc_layouts default_layout; | 190 | enum swayc_layouts default_layout; |
197 | char *font; | 191 | char *font; |