[bugfix] freeze on multi-monitor

This commit is contained in:
Klesh Wong 2021-07-22 12:31:15 +08:00
parent 689dea344d
commit 2718a2c321

View File

@ -76,6 +76,11 @@ GetCursorMonGeometry(ByRef x, ByRef y, ByRef w, ByRef h) {
h := monBottom - monTop h := monBottom - monTop
return return
} }
mi := mi + 1
if (mi >= mc) {
MsgBox, "unable to find monitor under the cursor"
return
}
} }
} }