user32: Add a heuristic to find the mouse message's window.
commit0d9ce8a02502981fdbb7fd7a772e719b67f03d2c
authorHuw Davies <huw@codeweavers.com>
Tue, 6 Feb 2018 10:08:25 +0000 (6 10:08 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 6 Feb 2018 13:28:10 +0000 (6 14:28 +0100)
treee40ad1e2c21ddc5eec8b6473ac17435878e3cae8
parentb1f8a91e6c1f9bf5524eb130a912fb8727f258ff
user32: Add a heuristic to find the mouse message's window.

This can't be done properly without support from the native windowing
system.  However, it's a good bet to try the next window in the z-order
if it's the owner of the original window and it's in the same thread.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/message.c