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

2015-10-30 Thread Matt Gushee
Hi, Matt-- On Thu, Oct 29, 2015 at 10:24 PM, Matt Welland wrote: > I'm not sure how to narrow this problem down but I'd like to start with a > fresh build of chicken / IUP. However that process never seems to go well > for me. > What part doesn't go well? Is it the IUP

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

2015-10-29 Thread Matt Welland
I'm not sure how to narrow this problem down but I'd like to start with a fresh build of chicken / IUP. However that process never seems to go well for me. Has anyone recently installed the chicken IUP egg on 64bit Ubuntu 15.04 or a recent Debian and if so would you be so kind as to share your

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

2015-10-17 Thread Thomas Chust
On 2015-10-16 11:40, Matt Welland wrote: > [...] > this is failing on Ubuntu 15.04 but working ok on sles11. > [...] Hello, are the systems in question running on the same architecture? Do they have the same word size? My gut feeling says that the problem looks suspiciously like some calling

[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

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

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. -Dan