summary refs log tree commit diff
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan <okan>2016-11-15 00:22:02 +0000
committerokan <okan>2016-11-15 00:22:02 +0000
commitdb02592e5cfd5cf1395b4e40be8feb54f943a603 (patch)
tree1f98096e69a67fbb364849de54aeb478c046e651 /kbfunc.c
parent62dc5ae1320c833d1d6a8354543cada41a2bc4f3 (diff)
downloadcwm-db02592e5cfd5cf1395b4e40be8feb54f943a603.tar.gz
cwm-db02592e5cfd5cf1395b4e40be8feb54f943a603.tar.xz
cwm-db02592e5cfd5cf1395b4e40be8feb54f943a603.zip
revert previous; upcoming changes will hopefully deal with these more
naturally.
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 40bd84e..8edea79 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -86,17 +86,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;
 	struct geom		 area;
@@ -151,17 +140,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;
 	int			 amt = 1;