http://bugs.winehq.org/show_bug.cgi?id=11727
--- Comment #17 from Gabriele Moabiti gabmoa@yahoo.it 2009-11-12 09:08:41 ---
if (flags & MOUSEEVENTF_LEFTDOWN) { key_state_table[VK_LBUTTON] |= 0xc0; queue_raw_mouse_message( ...injected_flags ); if (injected_flags & LLMHF_INJECTED) { X11DRV_SetFakeButtonEvent(Button1, TRUE); }
If the mouse cursor is on a wine windows this will bring to a two clicks. The patch should test it before!
I think the mouse and keyboard fake input is a nice addition, so I can use many tools seamless in wine like windows (macro recorder, vnc, etc...)
The fake input integration should be in the winecfg as choose (mouse and/or keyboard)