Skip to content

Commit

Permalink
Actually populate the stored lastRect in ClipCursor (...) in the case…
Browse files Browse the repository at this point in the history
… where it's non-null
  • Loading branch information
Kaldaien committed Dec 29, 2024
1 parent a540db1 commit 3617462
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8483,6 +8483,11 @@ SK_ClipCursor (const RECT *lpRect)
lastRect.right = LONG_MAX;
}

else
{
lastRect = *lpRect;
}

return
ClipCursor_Original != nullptr ?
ClipCursor_Original (lpRect) :
Expand Down

0 comments on commit 3617462

Please sign in to comment.