aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2020-04-16 13:32:35 +0000
committerWynn Wolf Arbor2020-04-18 21:10:54 +0200
commit23c5b2e81239675802d7cfe1b1572d89620f7485 (patch)
tree9bbfab1efe388cccad725ac60c01c85ae78a9e35 /conf.c
parent15fd9c391223d87228a49ec13ae4051bee4c0a55 (diff)
downloadcwm-23c5b2e81239675802d7cfe1b1572d89620f7485.tar.gz
Allow configuring a percentage window size of the master window during htile/vtile actions. From Uwe Werler, with a few manpage tweaks.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index df6f56d..1e95bd9 100644
--- a/conf.c
+++ b/conf.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: conf.c,v 1.251 2020/02/27 14:56:39 okan Exp $
+ * $OpenBSD: conf.c,v 1.252 2020/04/16 13:32:35 okan Exp $
*/
#include <sys/types.h>
@@ -281,6 +281,8 @@ conf_init(struct conf *c)
c->stickygroups = 0;
c->bwidth = 1;
c->mamount = 1;
+ c->htile = 50;
+ c->vtile = 50;
c->snapdist = 0;
c->ngroups = 0;
c->nameqlen = 5;