https://bugs.winehq.org/show_bug.cgi?id=37528
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to den123 from comment #3)
I have suggestion. If wine can do mouse move event, wine must do mouse click event for linux window.
There is an answer in one of the bugs I referenced: X11 APIs don't provide a reliable way for that.
Instruction:)
- Wine got the mouse click event (WM_MouseClick or mouse_event MOUSEEVENTF)
- Wine check the top focused window in Linux and if it Linux window, wine
generate a mouse click event for Linux system.
I belive wine can do it)
Patches are welcome.