use local var from 287a5b2a

This commit is contained in:
Michael Weber 2013-05-08 11:15:30 +02:00
parent 6a2c8bf962
commit ba5397474d

View File

@ -136,8 +136,8 @@ kbfunc_moveresize(struct client_ctx *cc, union arg *arg)
case CWM_SNAP: case CWM_SNAP:
ox = cc->geom.x; ow = cc->geom.w; ox = cc->geom.x; ow = cc->geom.w;
oy = cc->geom.y; oh = cc->geom.h; oy = cc->geom.y; oh = cc->geom.h;
#define sw cc->sc->work.w #define sw sc->work.w
#define sh cc->sc->work.h #define sh sc->work.h
#define bw 2 * cc->bwidth #define bw 2 * cc->bwidth
#define nw cc->geom.w #define nw cc->geom.w
#define nh cc->geom.h #define nh cc->geom.h