PendingBegin flag on XI_TouchMotionUnowned events?

Daniel Stone daniel at fooishbar.org
Mon Jan 24 17:58:18 PST 2011


On Tue, Jan 25, 2011 at 11:35:37AM +1000, Peter Hutterer wrote:
> On Mon, Jan 24, 2011 at 12:25:25PM -0500, Chase Douglas wrote:
> > We currently have a mechanism for clients selecting for unowned events
> > to receive motion and finish events (through the PendingFinish flag).
> > However, how does a non-owner know that a TouchBegin event isn't owned
> > yet? Should we mutate TouchBegin events to TouchMotionUnowned and set a
> > PendingBegin flag?
> 
> why not set the owner flag on the TouchBegin event?

Actually, I was just going to send a TouchOwnership event straight after
TouchBegin, to make life simpler for clients.  So, TouchBegin means
'you will get events for this touch at some stage', and TouchOwnership
means 'you're now the owner, go nuts', always.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110125/92ffb6af/attachment.pgp>


More information about the xorg-devel mailing list