Re: [XFree86] Find Fake Event

2003-08-28 Thread Henrik Sandklef
Hi! You can fake events in (at least) two ways in X. One way is by using XSendEvent and another is by using the XTest extension. When using XSendEvent you can check in your application if the was sent with this function. Some sample code: XEvent ev; XNextEvent(&ev); if (ev.xkey.send_event

[XFree86] Find Fake Event

2003-08-28 Thread Bharathi S
Hello All, How to differentiate the Fake Event from Normal Event ? TIA, -- Bharathi S, IndLinuX Team, (__) DON Lab,TeNeT Group, oo ) IIT-Madras, Chennai-INDIA. (_/\ Known is DROP, Unknown is OCEAN. ___ XFree86 mailing list [EMAIL PROTECT