diff options
author | okan <okan> | 2013-07-10 14:15:58 +0000 |
---|---|---|
committer | okan <okan> | 2013-07-10 14:15:58 +0000 |
commit | 93bfc4a5c14db580a426571b8be6011998189ad2 (patch) | |
tree | a14fb69b67091ef2e2b753dc53f60854b0b58e74 /mousefunc.c | |
parent | ba9baaf671a4054524f62a5b90b21f603c369a5b (diff) | |
parent | bd7b8163bb0be2bd4904a179771a8f79163e8161 (diff) | |
download | cwm-93bfc4a5c14db580a426571b8be6011998189ad2.tar.gz cwm-93bfc4a5c14db580a426571b8be6011998189ad2.tar.xz cwm-93bfc4a5c14db580a426571b8be6011998189ad2.zip |
cvsimport
Diffstat (limited to 'mousefunc.c')
-rw-r--r-- | mousefunc.c | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/mousefunc.c b/mousefunc.c index 158a791..8053fe7 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -68,7 +68,7 @@ mousefunc_sweep_draw(struct client_ctx *cc) } void -mousefunc_window_resize(struct client_ctx *cc, void *arg) +mousefunc_client_resize(struct client_ctx *cc, void *arg) { XEvent ev; Time ltime = 0; @@ -125,7 +125,7 @@ mousefunc_window_resize(struct client_ctx *cc, void *arg) } void -mousefunc_window_move(struct client_ctx *cc, void *arg) +mousefunc_client_move(struct client_ctx *cc, void *arg) { XEvent ev; Time ltime = 0; @@ -177,34 +177,46 @@ mousefunc_window_move(struct client_ctx *cc, void *arg) } void -mousefunc_window_grouptoggle(struct client_ctx *cc, void *arg) +mousefunc_client_grouptoggle(struct client_ctx *cc, void *arg) { group_sticky_toggle_enter(cc); } void -mousefunc_window_lower(struct client_ctx *cc, void *arg) +mousefunc_client_lower(struct client_ctx *cc, void *arg) { client_ptrsave(cc); client_lower(cc); } void -mousefunc_window_raise(struct client_ctx *cc, void *arg) +mousefunc_client_raise(struct client_ctx *cc, void *arg) { client_raise(cc); } void -mousefunc_window_hide(struct client_ctx *cc, void *arg) +mousefunc_client_hide(struct client_ctx *cc, void *arg) { client_hide(cc); } void +mousefunc_client_cyclegroup(struct client_ctx *cc, void *arg) +{ + group_cycle(cc->sc, CWM_CYCLE); +} + +void +mousefunc_client_rcyclegroup(struct client_ctx *cc, void *arg) +{ + group_cycle(cc->sc, CWM_RCYCLE); +} + +void mousefunc_menu_group(struct client_ctx *cc, void *arg) { - group_menu(arg); + group_menu(cc->sc); } void |