diff options
Diffstat (limited to 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 13 |
1 files changed, 13 insertions, 0 deletions
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; + } +} |