diff --git a/src/fssimplewindow/src/windows/fswin32wrapper.cpp b/src/fssimplewindow/src/windows/fswin32wrapper.cpp index 1f3086e..cd5a785 100644 --- a/src/fssimplewindow/src/windows/fswin32wrapper.cpp +++ b/src/fssimplewindow/src/windows/fswin32wrapper.cpp @@ -1202,7 +1202,10 @@ void FsShowMouseCursor(int showFlag) } else { - while(0<=ShowCursor(FALSE)); + // 2023/11/30 + // Something occasionally increases the cursor count and decrease again. + // I need to decrement to -1 to assure the cursor is hidden all the time. + while(-1<=ShowCursor(FALSE)); } }