[fdo] Help! I can't fake events!

Stian Skjelstad stian at nixia.no
Mon Aug 29 01:13:22 EST 2005


> I am very frustrated right now. I need to be able to send an event to
> a program but for some, unknown, reason I have been unable to find a
> single way to send a event to a window without the stupid SYNTHETIC
> flag getting set. I do not wish to explain why I must do this (if you
> really must know you can ask), its very complex. I have searched the
> internet, I have read documentation, etc, etc. I have found nothing on
> this topic.
> 
> Again, I must send an event to a window without the SYNTHETIC flag
> being set. I can not use XTest because it does not send an event to a
> window it creates fake input that will become an event, but does not
> directly create an event.

What is wrong with XTest. I used that (if I remember right) to fake
keyboard events from a barcode reader I had (since it was easier to fake
X events, than to insert events into gdk internally).


Stian



More information about the freedesktop mailing list