[PATCH v2 3/3] comctl32/status: Checking size grip bounds inclusively.
Waritnan Sookbuntherng
lion328 at hotmail.co.th
Sun Nov 11 13:07:33 CST 2018
Signed-off-by: Waritnan Sookbuntherng <lion328 at hotmail.co.th>
---
dlls/comctl32/status.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c
index 3bf72fa577..ad69c54ba8 100644
--- a/dlls/comctl32/status.c
+++ b/dlls/comctl32/status.c
@@ -1011,6 +1011,9 @@ STATUSBAR_WMNCHitTest (const STATUS_INFO *infoPtr, INT x, INT y)
rect.left = rect.right - 13;
rect.top += 2;
+ /* checking POINT in RECT inclusively */
+ rect.right += 1;
+ rect.bottom += 1;
if (PtInRect (&rect, pt))
{
--
2.19.1
More information about the wine-devel
mailing list