diff options
author | okan | 2008-05-19 17:11:19 +0000 |
---|---|---|
committer | okan | 2008-05-19 17:11:19 +0000 |
commit | a6afc5f36998efb9a564b3a22d2e36a89812af3d (patch) | |
tree | 2e751b6dfe83e12d724e9ac56d1f8e980d446fe8 /calmwm.h | |
parent | a47b4ccaab4803eba1fb0774e26abd3ed06f9fd4 (diff) | |
download | cwm-a6afc5f36998efb9a564b3a22d2e36a89812af3d.tar.gz |
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 '')
-rw-r--r-- | calmwm.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 *); |