Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!SUN.COM!robin From: robin@SUN.COM (Robin Schaufler) Newsgroups: comp.windows.news Subject: Re: Help with double-click recognition. Message-ID: <8910192039.AA00634@borogove.sun.com> Date: 20 Oct 89 08:17:38 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 13 The difficulty with waiting for another event and then looking at the timestamp is knowing how long to wait. In NeWS, this problem is solved by sending oneself a shuttle event timestamped in the future; since distribution of events is ordered by timestamp, if the shuttle arrives before another down transition, then it is known to be a single click. If the down transition arrives before the shuttle, the client can dequeue the shuttle so it never gets distributed. X does not have this notion of timestamp ordering for all events. I don't see any way to implement this sort of shuttle interface. If anyone else does, please enlighten me. -- Robin