diff options
-rw-r--r-- | app/cwm/client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c index dd2860830..536bcf658 100644 --- a/app/cwm/client.c +++ b/app/cwm/client.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: client.c,v 1.76 2010/05/22 22:10:31 okan Exp $ + * $Id: client.c,v 1.77 2011/02/13 20:09:57 okan Exp $ */ #include <sys/param.h> @@ -435,6 +435,9 @@ client_ptrsave(struct client_ctx *cc) if (client_inbound(cc, x, y)) { cc->ptr.x = x; cc->ptr.y = y; + } else { + cc->ptr.x = -1; + cc->ptr.y = -1; } } |