From d7154d5d3f45bfe73c4702e1180291d40ebb7d66 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Tue, 28 Aug 2018 22:13:18 +1000 Subject: [PATCH] Updated user32-Mouse_Message_Hwnd patchset --- ...005-server-Add-support-for-a-layered-window-region.-v2.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/user32-Mouse_Message_Hwnd/0005-server-Add-support-for-a-layered-window-region.-v2.patch b/patches/user32-Mouse_Message_Hwnd/0005-server-Add-support-for-a-layered-window-region.-v2.patch index a3d7e007..88371b8f 100644 --- a/patches/user32-Mouse_Message_Hwnd/0005-server-Add-support-for-a-layered-window-region.-v2.patch +++ b/patches/user32-Mouse_Message_Hwnd/0005-server-Add-support-for-a-layered-window-region.-v2.patch @@ -148,7 +148,7 @@ index c9b131c..766bf51 100644 !point_in_region( win->win_region, *x - win->window_rect.left, *y - win->window_rect.top )) return 0; /* not in window region */ + if (win->layer_region && -+ !point_in_region( win->layer_region, x - win->window_rect.left, y - win->window_rect.top )) ++ !point_in_region( win->layer_region, *x - win->window_rect.left, *y - win->window_rect.top )) + return 0; /* not in layer mask region */ return 1; }