From a6afc5f36998efb9a564b3a22d2e36a89812af3d Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 19 May 2008 17:11:19 +0000 Subject: as done with cycle/rcycle, make prev/next group switching one kbfuncs and use a flag; adjusted to match and rename to {r,}cycle. "ok, since i came up with the same thing" oga@ --- calmwm.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 78c0268..2d14637 100644 --- a/calmwm.h +++ b/calmwm.h @@ -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. * - * $Id: calmwm.h,v 1.43 2008/05/19 15:17:50 oga Exp $ + * $Id: calmwm.h,v 1.44 2008/05/19 17:11:19 okan Exp $ */ #ifndef _CALMWM_H_ @@ -221,9 +221,12 @@ TAILQ_HEAD(winmatch_q, winmatch); /* for cwm_exec */ #define CWM_EXEC_PROGRAM 0x1 #define CWM_EXEC_WM 0x2 -/* For alt-tab */ +/* for alt-tab */ #define CWM_CYCLE 0x0 #define CWM_RCYCLE 0x1 +/* for group cycle */ +#define CWM_CYCLEGROUP 0x0 +#define CWM_RCYCLEGROUP 0x1 #define KBFLAG_NEEDCLIENT 0x01 @@ -434,8 +437,7 @@ void kbfunc_cmdexec(struct client_ctx *, void *); void kbfunc_client_label(struct client_ctx *, void *); void kbfunc_client_delete(struct client_ctx *, void *); void kbfunc_client_group(struct client_ctx *, void *); -void kbfunc_client_nextgroup(struct client_ctx *, void *); -void kbfunc_client_prevgroup(struct client_ctx *, void *); +void kbfunc_client_cyclegroup(struct client_ctx *, void *); void kbfunc_client_nogroup(struct client_ctx *, void *); void kbfunc_client_grouptoggle(struct client_ctx *, void *); void kbfunc_client_maximize(struct client_ctx *, void *); @@ -463,7 +465,7 @@ void search_match_exec(struct menu_q *, struct menu_q *, void group_init(void); void group_hidetoggle(int); -void group_slide(int); +void group_cycle(int); void group_sticky(struct client_ctx *); void group_client_delete(struct client_ctx *); void group_menu(XButtonEvent *); -- cgit v1.2.3-2-gb3c3