Re: [racket-dev] mouse motion events in Linux

2011-07-18 Thread Stephan Houben
Hi Matthew, On 07/17/2011 04:12 PM, Matthew Flatt wrote: Does adding GDK_POINTER_MOTION_HINT_MASK change the mouse events that you see on your machine? No, in fact it does not. You are right; the behaviour of GDK_POINTER_MOTION_HINT_MASK appears not to match the docs. I investigated this und

Re: [racket-dev] mouse motion events in Linux

2011-07-17 Thread Matthew Flatt
Thanks! That page is clearer than the docs I read, though I still don't feel more enlightened. I did eventually conclude that GDK_POINTER_MOTION_HINT_MASK is orthogonal to GDK_POINTER_MOTION_MASK / GDK_BUTTON_MOTION_MASK, but adding it back seemed to have no effect on the mouse events that arrived.

Re: [racket-dev] mouse motion events in Linux

2011-07-17 Thread Stephan Houben
Hi Matthew, On 07/16/2011 10:31 PM, Matthew Flatt wrote: > Short answer: change pushed. Thanks for picking this up. I see you also removed GDK_POINTER_MOTION_HINT_MASK , which means we will be again seeing more motion events than before. Please note that GDK_POINTER_MOTION_HINT_MASK is really

Re: [racket-dev] mouse motion events in Linux

2011-07-16 Thread Matthew Flatt
Short answer: change pushed. Long answer: At one point, I changed GDK_POINTER_MOTION_MASK to GDK_POINTER_MOTION_HINT_MASK. My impression from the documentation and from trying it out was that it generated helpfully fewer mouse-movement events. Instead, it seems to generate zero mouse-movement even

[racket-dev] mouse motion events in Linux

2011-07-16 Thread Stephan Houben
Dear list, Recently I noticed that on Linux, the canvas only receives mouse motion events if some mouse button is pressed. Since this is not mentioned in the documentation I assume this behaviour was not intended, please correct me if wrong. The cause of this behaviour is the use of the flag G