What is the time period the toolkit expects for double click events.

> Date: Sun, 23 Nov 2008 09:27:01 +1000
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: Emulate Double Click Events
> CC: [email protected]
> 
> On Sat, Nov 22, 2008 at 08:08:35PM +0200, dana goren wrote:
> > I would like to emulate double click event.
> > I use XTestFakeButtonEvent, the double clicks works only if i send
> > 2 consecutive XTestFakeButtonEvent.
> > Do i have to use a timer to check the period from one event to another
> > in order to emulate double click,
> 
> the X Protocol does not specify double clicks, it is enforced by the toolkit
> by checking the timestamps between two press/release events.
> In your case, you need to send two button events within the period the toolkit
> expects.
> 
> Cheers,
>   Peter
> _______________________________________________
> xorg mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/xorg

_________________________________________________________________
Color coding for safety: Windows Live Hotmail alerts you to suspicious email.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008
 
_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to