summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2009-12-07 19:45:36 +0000
committerokan <okan>2009-12-07 19:45:36 +0000
commitab4d36531c79b466e69d7dbd90329d58b8dce7ca (patch)
tree54be299e5b92f5c62a1037d1ec8b56eb401c1a82
parent892e1e1c0d67438b6b0d36cb4ebce6dbede4e983 (diff)
downloadcwm-ab4d36531c79b466e69d7dbd90329d58b8dce7ca.tar.gz
cwm-ab4d36531c79b466e69d7dbd90329d58b8dce7ca.tar.xz
cwm-ab4d36531c79b466e69d7dbd90329d58b8dce7ca.zip
we already have sc from the passed cc, so just used that instead.
ok oga@
-rw-r--r--kbfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 8128c6b..c6c9ac1 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -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;