Re: [gtk-list] RE: Eating surplus events?



Wed Jun 3 18:38:23 -0000 1998 Jonathan Belson <jon@dookie.demon.co.uk> wrote:
> 
> Ermmm...maybe I should rephrase my question.
> 
> Is there any way I can prevent my app from being 'swamped' with
> motion_notify events when the user moves the mouse rapidly?
> 
> The program takes a while to 'catch up' with the mouse after it's stopped
> moving and it makes fine control very difficult.

Can you use motion notify _hints_ to solve the problem ?

In that way, X server sends only one `hint' to the client, and doesn't send
more until client has polled the current mouse position.



> 
> C-YA
> Jon
> 
> http://www.dookie.demon.co.uk

Tomi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]