diff options
author | Mykyta Holubakha <[email protected]> | 2016-05-07 20:49:51 +0300 |
---|---|---|
committer | Mykyta Holubakha <[email protected]> | 2016-05-07 20:49:51 +0300 |
commit | 0423c41a0f9f8f84bde80e664e59e33e3b05e3d4 (patch) | |
tree | 0f168f873158653f9d42fb94c591b1d2e6450cd7 /include/config.h | |
parent | 6abdc0755945a982638ce2341d2ed1f96a6c5e4e (diff) |
Implemented configurable floating scroll behavior
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 11 |
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 { }; enum floating_scroll_behavior { - FSB_GAPS_OUTER, /**< Adjust outer gaps */ - FSB_GAPS_INNER /**< Adjust inner gaps */ - // Note: in the future I expect to see more things you can do with the scroll - // wheel than maniuplating gaps + FSB_GAPS_OUTER, /**< Adjust outer gaps */ + FSB_GAPS_INNER, /**< Adjust inner gaps */ + FSB_CUSTOM /**< Perform a user-defined action */ }; /** @@ -191,7 +190,9 @@ struct sway_config { uint32_t floating_mod; uint32_t dragging_key; uint32_t resizing_key; - enum floating_scroll_behavior floating_scroll; // TODO: command to set this + enum floating_scroll_behavior floating_scroll; + char *fsb_up; + char *fsb_down; enum swayc_layouts default_orientation; enum swayc_layouts default_layout; char *font; |