15 Feb
2008
15 Feb
'08
10:26 a.m.
"Lei Zhang" <thestig(a)google.com> writes:
--- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -278,6 +278,7 @@ void X11DRV_send_mouse_input( HWND hwnd, DWORD flags, DWORD x, DWORD y, { pt.x = (x * screen_width) >> 16; pt.y = (y * screen_height) >> 16; + hwnd = GetAncestor(WindowFromPoint(pt), GA_PARENT);
This should not be needed, for injected events the window is determined on the server side. -- Alexandre Julliard julliard(a)winehq.org