https://bugs.winehq.org/show_bug.cgi?id=37528
--- Comment #5 from den123 den.aria@gmail.com --- Sorry Dmitry, i'm not linux programmer. (only Windows) But i find some useful information, functions Xlib XSendEvent and xdotool.
http://stackoverflow.com/questions/14656615/xlib-xsendevent-click-event-do-n...
http://stackoverflow.com/questions/5802177/mouse-button-simulation-right-but...
http://www.semicomplete.com/blog/geekery/xsendevent-xdotool-and-ld_preload.h...
I think if XSendEvent can do mouse click (and keyboard event) in the some linux windows, this is better than nothing.