From a599addca72a7f29a64072c67ba48abed5b5561e Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 7 Dec 2009 19:45:36 +0000 Subject: we already have sc from the passed cc, so just used that instead. ok oga@ --- kbfunc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index 7ee6902..a0fb4f6 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. * - * $Id: kbfunc.c,v 1.45 2009/12/07 19:44:31 okan Exp $ + * $Id: kbfunc.c,v 1.46 2009/12/07 19:45:36 okan Exp $ */ #include @@ -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; -- cgit v1.2.3-2-gb3c3