Huw Davies huw@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.