add per-group vert/horiz tiling support; introduces 2 new bind commands,

'vtile' and 'htile'; from Alexander Polakov.
This commit is contained in:
okan
2013-01-08 15:16:04 +00:00
parent bf9d981597
commit 3a7596968b
5 changed files with 149 additions and 1 deletions

View File

@@ -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;
}
}