On Tue, 18 Jan 2011 07:28:14 -0500
Okan Demirmen <[email protected]> wrote:
> On Fri 2011.01.14 at 19:19 +0100, Thomas Pfaff wrote:
> > It took a while to figure out the sequence of events that triggered this
> > problem and there might be other ways it can be triggered. The same
> > happens if you maximize (fullscreen) or horizontally maximize the window
> > and move the ptr.
> >
> > This patch fixes the problem for me.
>
> how's this simplier one?
>
Seems good. I'm not able to reproduce the problem and I've not been able
to "accidentally" reproduce it either.
> Index: client.c
> ===================================================================
> RCS file: /home/open/anoncvs/cvs/xenocara/app/cwm/client.c,v
> retrieving revision 1.76
> diff -u -p -r1.76 client.c
> --- client.c 22 May 2010 22:10:31 -0000 1.76
> +++ client.c 18 Jan 2011 12:23:37 -0000
> @@ -435,6 +435,8 @@ client_ptrsave(struct client_ctx *cc)
> if (client_inbound(cc, x, y)) {
> cc->ptr.x = x;
> cc->ptr.y = y;
> + } else {
> + cc->ptr.x = cc->ptr.y = -1;
> }
> }