we already have sc from the passed cc, so just used that instead.

ok oga@
This commit is contained in:
okan 2009-12-07 19:45:36 +00:00
parent 892e1e1c0d
commit ab4d36531c

View File

@ -49,7 +49,7 @@ kbfunc_moveresize(struct client_ctx *cc, union arg *arg)
int x, y, flags, amt;
u_int mx, my;
sc = screen_current();
sc = cc->sc;
mx = my = 0;
flags = arg->i;