diff options
author | okan <okan> | 2008-05-19 17:11:19 +0000 |
---|---|---|
committer | okan <okan> | 2008-05-19 17:11:19 +0000 |
commit | d347aa3d9a1ad8fb01286c51027c411f83d06a9c (patch) | |
tree | 895dd6986c36d08a1578a542b417514dd5756d6d /calmwm.h | |
parent | 43d6e147c2e0998f3e256fd2b90d85fd079429f4 (diff) | |
download | cwm-d347aa3d9a1ad8fb01286c51027c411f83d06a9c.tar.gz cwm-d347aa3d9a1ad8fb01286c51027c411f83d06a9c.tar.xz cwm-d347aa3d9a1ad8fb01286c51027c411f83d06a9c.zip |
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@
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/calmwm.h b/calmwm.h index ea16589..5ac1b8d 100644 --- a/calmwm.h +++ b/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 *); |