From 3a7596968b740328c41f6807800d004c75e3c62f Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 8 Jan 2013 15:16:04 +0000 Subject: add per-group vert/horiz tiling support; introduces 2 new bind commands, 'vtile' and 'htile'; from Alexander Polakov. --- kbfunc.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index d61193f..c742f7e 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -479,3 +479,16 @@ kbfunc_restart(struct client_ctx *cc, union arg *arg) (void)setsid(); (void)execvp(cwm_argv[0], cwm_argv); } + +void +kbfunc_tile(struct client_ctx *cc, union arg *arg) +{ + switch (arg->i) { + case CWM_TILE_HORIZ: + client_htile(cc); + break; + case CWM_TILE_VERT: + client_vtile(cc); + break; + } +} -- cgit 1.4.1