bring mousefunc closer to kbfunc

This commit is contained in:
okan
2014-01-02 21:30:20 +00:00
parent c4f6134ebe
commit 10d4dcb127
4 changed files with 48 additions and 38 deletions

View File

@ -66,7 +66,7 @@ mousefunc_sweep_draw(struct client_ctx *cc)
}
void
mousefunc_client_resize(struct client_ctx *cc, void *arg)
mousefunc_client_resize(struct client_ctx *cc, union arg *arg)
{
XEvent ev;
Time ltime = 0;
@ -120,7 +120,7 @@ mousefunc_client_resize(struct client_ctx *cc, void *arg)
}
void
mousefunc_client_move(struct client_ctx *cc, void *arg)
mousefunc_client_move(struct client_ctx *cc, union arg *arg)
{
XEvent ev;
Time ltime = 0;
@ -173,50 +173,50 @@ mousefunc_client_move(struct client_ctx *cc, void *arg)
}
void
mousefunc_client_grouptoggle(struct client_ctx *cc, void *arg)
mousefunc_client_grouptoggle(struct client_ctx *cc, union arg *arg)
{
group_sticky_toggle_enter(cc);
}
void
mousefunc_client_lower(struct client_ctx *cc, void *arg)
mousefunc_client_lower(struct client_ctx *cc, union arg *arg)
{
client_ptrsave(cc);
client_lower(cc);
}
void
mousefunc_client_raise(struct client_ctx *cc, void *arg)
mousefunc_client_raise(struct client_ctx *cc, union arg *arg)
{
client_raise(cc);
}
void
mousefunc_client_hide(struct client_ctx *cc, void *arg)
mousefunc_client_hide(struct client_ctx *cc, union arg *arg)
{
client_hide(cc);
}
void
mousefunc_client_cyclegroup(struct client_ctx *cc, void *arg)
mousefunc_client_cyclegroup(struct client_ctx *cc, union arg *arg)
{
group_cycle(cc->sc, CWM_CYCLE);
}
void
mousefunc_client_rcyclegroup(struct client_ctx *cc, void *arg)
mousefunc_client_rcyclegroup(struct client_ctx *cc, union arg *arg)
{
group_cycle(cc->sc, CWM_RCYCLE);
}
void
mousefunc_menu_group(struct client_ctx *cc, void *arg)
mousefunc_menu_group(struct client_ctx *cc, union arg *arg)
{
group_menu(cc->sc);
}
void
mousefunc_menu_unhide(struct client_ctx *cc, void *arg)
mousefunc_menu_unhide(struct client_ctx *cc, union arg *arg)
{
struct screen_ctx *sc = cc->sc;
struct client_ctx *old_cc;
@ -258,7 +258,7 @@ mousefunc_menu_unhide(struct client_ctx *cc, void *arg)
}
void
mousefunc_menu_cmd(struct client_ctx *cc, void *arg)
mousefunc_menu_cmd(struct client_ctx *cc, union arg *arg)
{
struct screen_ctx *sc = cc->sc;
struct menu *mi;