Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix System.OverflowException in WindowChromeWorker._HandleNCHitTest #6779

Merged
merged 2 commits into from
Dec 14, 2022

Commits on Jul 12, 2022

  1. Fix System.OverflowException in WindowChromeWorker._HandleNCHitTest

    The lParam may be the int 64 value which will throw OverflowException when cast to int 32. We only use the int32 part inside the int64, so it's safe for us to use ToInt64 first and then cast to int32.
    
    See dotnet#6777
    lindexi committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    9a0abe6 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. Fix comments

    lindexi committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    b92b3f1 View commit details
    Browse the repository at this point in the history