[PATCH] user32: Allow mouse messages to land on windows below top-level HTTRANSPARENT windows.
Alexandre Julliard
julliard at winehq.org
Wed Jan 31 10:48:55 CST 2018
Huw Davies <huw at codeweavers.com> writes:
> @@ -2502,7 +2502,7 @@ static BOOL process_mouse_message( MSG *msg, UINT hw_id, ULONG_PTR extra_info, H
> }
> else
> {
> - msg->hwnd = WINPOS_WindowFromPoint( msg->hwnd, msg->pt, &hittest );
> + msg->hwnd = WINPOS_WindowFromPoint( 0, msg->pt, &hittest );
In general we want to trust the X11 window information over the
wineserver. In particular I don't think we want to send a mouse click to
some unrelated window that may be behind another X11 window. Also note
that the same patch in staging has been reported to cause regressions.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list