From d37bab3d2d787991cda0a3772e7104def601c3ab Mon Sep 17 00:00:00 2001 From: Jaime Bernardo Date: Tue, 12 Jul 2022 12:58:16 +0100 Subject: [PATCH] [FindMyMouse]Fix hang on top left activation (#19347) --- src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp b/src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp index d35686948512..d03e91c684e2 100644 --- a/src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp +++ b/src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp @@ -104,7 +104,7 @@ struct SuperSonar return p1.x == p2.x && p1.y == p2.y; } - static constexpr POINT ptNowhere = { -1, -1 }; + static constexpr POINT ptNowhere = { LONG_MIN, LONG_MIN }; static constexpr DWORD TIMER_ID_TRACK = 100; static constexpr DWORD IdlePeriod = 1000;