diff options
author | okan | 2009-12-07 19:45:36 +0000 |
---|---|---|
committer | okan | 2009-12-07 19:45:36 +0000 |
commit | a599addca72a7f29a64072c67ba48abed5b5561e (patch) | |
tree | b5e196ac3b4e9d981d3e31af6d37733174307350 | |
parent | 256a416fb9b3e0c54a08646c7c648bb27e6d58a1 (diff) | |
download | cwm-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |