mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
revert previous; upcoming changes will hopefully deal with these more
naturally.
This commit is contained in:
22
kbfunc.c
22
kbfunc.c
@ -85,17 +85,6 @@ kbfunc_ptrmove(void *ctx, union arg *arg, enum xev xev)
|
||||
|
||||
void
|
||||
kbfunc_client_move(void *ctx, union arg *arg, enum xev xev)
|
||||
{
|
||||
int m = (xev == CWM_XEV_BTN);
|
||||
|
||||
if (m)
|
||||
mousefunc_client_move(ctx, arg, xev);
|
||||
else
|
||||
kbfunc_client_move_key(ctx, arg, xev);
|
||||
}
|
||||
|
||||
void
|
||||
kbfunc_client_move_key(void *ctx, union arg *arg, enum xev xev)
|
||||
{
|
||||
struct client_ctx *cc = ctx;
|
||||
struct screen_ctx *sc = cc->sc;
|
||||
@ -150,17 +139,6 @@ kbfunc_client_move_key(void *ctx, union arg *arg, enum xev xev)
|
||||
|
||||
void
|
||||
kbfunc_client_resize(void *ctx, union arg *arg, enum xev xev)
|
||||
{
|
||||
int m = (xev == CWM_XEV_BTN);
|
||||
|
||||
if (m)
|
||||
mousefunc_client_resize(ctx, arg, xev);
|
||||
else
|
||||
kbfunc_client_resize_key(ctx, arg, xev);
|
||||
}
|
||||
|
||||
void
|
||||
kbfunc_client_resize_key(void *ctx, union arg *arg, enum xev xev)
|
||||
{
|
||||
struct client_ctx *cc = ctx;
|
||||
unsigned int mx = 0, my = 0;
|
||||
|
Reference in New Issue
Block a user