Re: [PATCH] user32: Allow mouse messages to land on windows below top-level HTTRANSPARENT windows.
31 Jan
2018
31 Jan
'18
4:48 p.m.
Huw Davies <huw(a)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(a)winehq.org
2874
Age (days ago)
2874
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard