Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: Message-ID: <9008100730.AA28173@Larry.McRCIM.McGill.EDU> Date: 10 Aug 90 07:30:58 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 26 > Is it possible to set up translations for both a single click and a > double click of the same button? I tried to do this (maybe I got the > order wrong or something) but it never seemed to work. A double > click would always call the single click action first. Is this the > way it is supposed to work? Yes. The basic problem is that X can't support multiple mouse clicks. So Xt tries to fake it with time intervals, but the lack of a proper timeout means that a double click has to be handled as call single-click handler notice small time difference, call double-click handler which is of course exactly what you were seeing. I and one or two other people have been campaigning to get some sort of support into X that would permit proper support of multiple clicks (among other things); it remains to be seen what, if anything, along these lines gets into R5. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu