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
