diff options
author | Denis Doria <denisdoria@gmail.com> | 2016-06-01 13:37:50 +0200 |
---|---|---|
committer | Denis Doria <denisdoria@gmail.com> | 2016-06-01 13:37:50 +0200 |
commit | 0ad7857f909278fde8603b995d59b86437d5247f (patch) | |
tree | 25364b13d60ef443fc09f66d3886c477c46868b6 /sway/config.c | |
parent | Merge pull request #686 from zandrmartin/fix-swaybar-in-08bef67 (diff) | |
download | sway-0ad7857f909278fde8603b995d59b86437d5247f.tar.gz sway-0ad7857f909278fde8603b995d59b86437d5247f.tar.zst sway-0ad7857f909278fde8603b995d59b86437d5247f.zip |
Included option floating_minimum_size
Values cannot be negative or 0; if so uses the default 75x50.
Uses the same syntax as i3: floating_minimum_size <width> x <height>, although the x can be anything.
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 95285eba..b4e740f6 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -178,6 +178,8 @@ static void config_defaults(struct sway_config *config) { | |||
178 | config->floating_minimum_width = 75; | 178 | config->floating_minimum_width = 75; |
179 | config->floating_minimum_height = 50; | 179 | config->floating_minimum_height = 50; |
180 | 180 | ||
181 | config->floating_minimum_size = strdup(""); | ||
182 | |||
181 | // Flags | 183 | // Flags |
182 | config->focus_follows_mouse = true; | 184 | config->focus_follows_mouse = true; |
183 | config->mouse_warping = true; | 185 | config->mouse_warping = true; |