New feature: adjust gaps with floating_mod+scroll

I made this configurable but I didn't make the command for it. That's
left as an exercise to an eager contributor.

    mod_scroll_behavior [gaps inner|gaps outer]

Would merge implementions of more behaviors for mod+scroll, if anyone
has some neato ideas.
This commit is contained in:
Drew DeVault 2016-03-30 08:34:32 -04:00
parent 68f4f9b520
commit a12850444d
3 changed files with 34 additions and 0 deletions

View file

@ -159,6 +159,7 @@ static void config_defaults(struct sway_config *config) {
config->floating_mod = 0;
config->dragging_key = M_LEFT_CLICK;
config->resizing_key = M_RIGHT_CLICK;
config->floating_scroll = FSB_GAPS_INNER;
config->default_layout = L_NONE;
config->default_orientation = L_NONE;
config->font = strdup("monospace 10");