<div>Hello,</div>
<div>I'd like to know how to send XI2 events (such as XI_KeyPress, XI_KeyRelease) from a client to the other client(s).</div>
<div> </div>
<div>I'm working on 1.8.0 version of Xorg server and have a special application.</div>
<div>The special application (which grabs all slave key devices except XTestKeyboard) receives every key event and delivers it to the proper client's window.</div>
<div> </div>
<div>Most of the other applications are ready to receive KeyPress/KeyRelease event(s).</div>
<div>So XSendEvent() was used for deliverying the key event in the first time...</div>
<div>but some applications only can receive XI2 events (such as XI_KeyPress/XI_KeyRelease) and they want to get the key events</div>
<div>when they're not on the top of window stack (eg. background application).</div>
<div> </div>
<div>I tried to send XI2 key events using XSendExtension()  but I realized the function was not proper for sending XI2 (Generic) events.</div>
<div> </div>
<div>I really appreciate your helps in advance.</div>
<div>Thanks :)</div>
<div> </div>
<div>- Sung-Jin Park</div>
<div> </div>