From 87387d9bcaf92813d3dd4ed8e389aa98725f3b19 Mon Sep 17 00:00:00 2001 From: todd Date: Wed, 27 Jun 2007 13:28:22 +0000 Subject: implement keyboard initiated movement of windows enhanced version of diff originally from niallo@ man bits from niallo@ ok niallo@ japser@ --- calmwm.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 5a47cb9..7d15b82 100644 --- a/calmwm.h +++ b/calmwm.h @@ -4,7 +4,7 @@ * Copyright (c) 2004 Marius Aamodt Eriksen * All rights reserved. * - * $Id: calmwm.h,v 1.7 2007/06/26 19:34:26 niallo Exp $ + * $Id: calmwm.h,v 1.8 2007/06/27 13:28:22 todd Exp $ */ #ifndef _CALMWM_H_ @@ -204,6 +204,11 @@ enum kbtype { KB__LAST }; +#define CWM_BIGMOVE 0x1000 +enum directions { + CWM_UP=0, CWM_DOWN, CWM_LEFT, CWM_RIGHT, +}; + #define KBFLAG_NEEDCLIENT 0x01 #define KBFLAG_FINDCLIENT 0x02 @@ -426,6 +431,7 @@ void kbfunc_client_prevgroup(struct client_ctx *, void *); void kbfunc_client_nogroup(struct client_ctx *, void *); void kbfunc_client_maximize(struct client_ctx *, void *); void kbfunc_client_vmaximize(struct client_ctx *, void *); +void kbfunc_client_move(struct client_ctx *, void *); void kbfunc_menu_search(struct client_ctx *, void *); void kbfunc_exec(struct client_ctx *, void *); void kbfunc_ssh(struct client_ctx *, void *); -- cgit v1.2.3-2-gb3c3