diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2013-02-09 16:47:31 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2013-02-09 16:47:31 +0100 |
commit | 367bdc28e2de747c962659517bcc8cbf09a9fd81 (patch) | |
tree | aa2516ad541e8eb43740fd45de6816edc30ed848 /app/cwm/kbfunc.c | |
parent | 91bb789ad557ceffb3635adba7a8222a2aab2ec8 (diff) | |
parent | 13179665ebbd91ceeeeada784764303924d55696 (diff) |
Merge remote-tracking branch 'origin/master' into matthieu/xserver-1.13
Diffstat (limited to 'app/cwm/kbfunc.c')
-rw-r--r-- | app/cwm/kbfunc.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/app/cwm/kbfunc.c b/app/cwm/kbfunc.c index 926229c30..73676a14c 100644 --- a/app/cwm/kbfunc.c +++ b/app/cwm/kbfunc.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: kbfunc.c,v 1.75 2013/01/04 16:30:03 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.76 2013/01/08 15:16:05 okan Exp $ */ #include <sys/param.h> @@ -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; + } +} |