aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-03-30 08:34:32 -0400
committerDrew DeVault <sir@cmpwn.com>2016-03-30 08:34:32 -0400
commita12850444d38cc1b00e30adb6dea82b6e2045914 (patch)
tree60b01009710f0379a5ff08f777405ebba93736a3 /sway/config.c
parent68f4f9b52050e74e6fa53695b3d968e7a902d092 (diff)
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.
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c1
1 files changed, 1 insertions, 0 deletions
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");