From ba5397474d53626dc527ab0ec06dae56b85ee58a Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Wed, 8 May 2013 11:15:30 +0200 Subject: [PATCH] use local var from 287a5b2a --- kbfunc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kbfunc.c b/kbfunc.c index 930fb24..1022e64 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -136,8 +136,8 @@ kbfunc_moveresize(struct client_ctx *cc, union arg *arg) case CWM_SNAP: ox = cc->geom.x; ow = cc->geom.w; oy = cc->geom.y; oh = cc->geom.h; - #define sw cc->sc->work.w - #define sh cc->sc->work.h + #define sw sc->work.w + #define sh sc->work.h #define bw 2 * cc->bwidth #define nw cc->geom.w #define nh cc->geom.h