mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
bring mousefunc closer to kbfunc
This commit is contained in:
22
mousefunc.c
22
mousefunc.c
@ -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;
|
||||
|
Reference in New Issue
Block a user