aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2009-12-07 19:45:36 +0000
committerokan2009-12-07 19:45:36 +0000
commita599addca72a7f29a64072c67ba48abed5b5561e (patch)
treeb5e196ac3b4e9d981d3e31af6d37733174307350
parent256a416fb9b3e0c54a08646c7c648bb27e6d58a1 (diff)
downloadcwm-a599addca72a7f29a64072c67ba48abed5b5561e.tar.gz
we already have sc from the passed cc, so just used that instead.
ok oga@
Diffstat (limited to '')
-rw-r--r--kbfunc.c4
1 files changed, 2 insertions, 2 deletions
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 <paths.h>
@@ -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;