From a12850444d38cc1b00e30adb6dea82b6e2045914 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 30 Mar 2016 08:34:32 -0400 Subject: 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. --- sway/config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/config.c') diff --git a/sway/config.c b/sway/config.c index 5501ab31..f6241a3d 100644 --- a/sway/config.c +++ b/sway/config.c @@ -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"); -- cgit v1.2.3