aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan2016-11-15 00:22:02 +0000
committerokan2016-11-15 00:22:02 +0000
commitfa650aaea211350bbeb9723e3e8749c61ce5bcac (patch)
tree54fdc5b0c158d6c8563ccf3abfc36df400af3320 /kbfunc.c
parenta0cc9fcbdf007e8a96960c92a82f1354956060d5 (diff)
downloadcwm-fa650aaea211350bbeb9723e3e8749c61ce5bcac.tar.gz
revert previous; upcoming changes will hopefully deal with these more
naturally.
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/kbfunc.c b/kbfunc.c
index a9d6939..f682452 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: kbfunc.c,v 1.135 2016/11/15 00:07:03 okan Exp $
+ * $OpenBSD: kbfunc.c,v 1.136 2016/11/15 00:22:02 okan Exp $
*/
#include <sys/types.h>
@@ -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;