tinku99 wrote: > I am porting autohotkey. Not sure what to tell you. Regular X windows and windows inside Wine are so tally different things not sure if you can even make it work. Porting anything to work under Wine as a winelib is IMHO a huge waste of time. It'll make much more sense to have 2 separate programs - one for Wine/Windows another for Linux. Key event translation is only the first part of your problem. Wine knows nothing about all other X windows. And has absolutely no means to communicate with them. Sending event's might not be all that complicated (there are patch(es) in bugzilla to propagate Wine's injected events to X). But getting any information back won't be so easy.