summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Mykyta Holubakha <hilobakho@gmail.com>2016-05-07 20:49:51 +0300
committerLibravatar Mykyta Holubakha <hilobakho@gmail.com>2016-05-07 20:49:51 +0300
commit0423c41a0f9f8f84bde80e664e59e33e3b05e3d4 (patch)
tree0f168f873158653f9d42fb94c591b1d2e6450cd7 /include
parentMerge pull request #638 from neosilky/memleak (diff)
downloadsway-0423c41a0f9f8f84bde80e664e59e33e3b05e3d4.tar.gz
sway-0423c41a0f9f8f84bde80e664e59e33e3b05e3d4.tar.zst
sway-0423c41a0f9f8f84bde80e664e59e33e3b05e3d4.zip
Implemented configurable floating scroll behavior
Diffstat (limited to 'include')
-rw-r--r--include/config.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index 8e5e33c3..6bd09151 100644
--- a/include/config.h
+++ b/include/config.h
@@ -167,10 +167,9 @@ enum edge_border_types {
167}; 167};
168 168
169enum floating_scroll_behavior { 169enum floating_scroll_behavior {
170 FSB_GAPS_OUTER, /**< Adjust outer gaps */ 170 FSB_GAPS_OUTER, /**< Adjust outer gaps */
171 FSB_GAPS_INNER /**< Adjust inner 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 172 FSB_CUSTOM /**< Perform a user-defined action */
173 // wheel than maniuplating gaps
174}; 173};
175 174
176/** 175/**
@@ -191,7 +190,9 @@ struct sway_config {
191 uint32_t floating_mod; 190 uint32_t floating_mod;
192 uint32_t dragging_key; 191 uint32_t dragging_key;
193 uint32_t resizing_key; 192 uint32_t resizing_key;
194 enum floating_scroll_behavior floating_scroll; // TODO: command to set this 193 enum floating_scroll_behavior floating_scroll;
194 char *fsb_up;
195 char *fsb_down;
195 enum swayc_layouts default_orientation; 196 enum swayc_layouts default_orientation;
196 enum swayc_layouts default_layout; 197 enum swayc_layouts default_layout;
197 char *font; 198 char *font;