[Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-16 Thread Matt Welland
obj: #, pressed 0, status   1
canvas-origin: 0 0 click at -1987635704 48

The -1987635704 is the x value returned by this callback:

#:button-cb (lambda (obj btn pressed x y status)
...

this is failing on Ubuntu 15.04 but working ok on sles11.

so far as I can tell this is not due to any changes in the code - running
an older version exhibits the save behaviour.

Any suggestions on what to look at?

Thanks,

Matt
-=-
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-16 Thread Matt Gushee
Hi Matt--

My brain is not sure, but my finger is spontaneously pointing at the window
manager ;-)

On Fri, Oct 16, 2015 at 3:40 AM, Matt Welland 
wrote:

> obj: #, pressed 0, status   1
> canvas-origin: 0 0 click at -1987635704 48
>
> The -1987635704 is the x value returned by this callback:
>
> #:button-cb (lambda (obj btn pressed x y status)
> ...
>
> this is failing on Ubuntu 15.04 but working ok on sles11.
>
> so far as I can tell this is not due to any changes in the code - running
> an older version exhibits the save behaviour.
>
> Any suggestions on what to look at?
>
> Thanks,
>
> Matt
> -=-
>
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
>
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-16 Thread Dan Leslie
  It looks to me like a bad type cast. -DanSent from my BlackBerry 10 smartphone.From: Matt GusheeSent: Friday, October 16, 2015 9:12 AMTo: chicken-usersSubject: Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad valueHi Matt--My brain is not sure, but my finger is spontaneously pointing at the window manager ;-)On Fri, Oct 16, 2015 at 3:40 AM, Matt Welland  wrote:obj: #, pressed 0, status   1   canvas-origin: 0 0 click at -1987635704 48The -1987635704 is the x value returned by this callback:#:button-cb (lambda (obj btn pressed x y status)...this is failing on Ubuntu 15.04 but working ok on sles11.so far as I can tell this is not due to any changes in the code - running an older version exhibits the save behaviour.Any suggestions on what to look at?Thanks,Matt-=-
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users



___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users