[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Serial # in events
I'm trying to warp the pointer without getting an event for it, or at least
differentiate the warp event from a normal mouse event so I can ignore it...
This question has come up before on xpert, but I forget exactly how I
answered it. Basically, you want to pay attention to the sequence number
in the event, and ignore the motion event that matches the sequence number of
your warp request. You may want to immediately follow the warp with another
request (e.g. a noop) to minimize getting additional motion events with the
same sequence number.