Updated user32-Mouse_Message_Hwnd patchset

This commit is contained in:
Alistair Leslie-Hughes 2018-08-28 22:13:18 +10:00
parent 412e20cd9a
commit d7154d5d3f

View File

@ -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;
}