mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
Implemented configurable floating scroll behavior
This commit is contained in:
parent
6abdc07559
commit
0423c41a0f
4 changed files with 63 additions and 5 deletions
|
|
@ -131,6 +131,8 @@ void free_config(struct sway_config *config) {
|
|||
list_free(config->active_bar_modifiers);
|
||||
free_flat_list(config->config_chain);
|
||||
free(config->font);
|
||||
free(config->fsb_up);
|
||||
free(config->fsb_down);
|
||||
free(config);
|
||||
}
|
||||
|
||||
|
|
@ -160,6 +162,8 @@ static void config_defaults(struct sway_config *config) {
|
|||
config->dragging_key = M_LEFT_CLICK;
|
||||
config->resizing_key = M_RIGHT_CLICK;
|
||||
config->floating_scroll = FSB_GAPS_INNER;
|
||||
config->fsb_up = strdup("");
|
||||
config->fsb_down = strdup("");
|
||||
config->default_layout = L_NONE;
|
||||
config->default_orientation = L_NONE;
|
||||
config->font = strdup("monospace 10");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue