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

glcGetBestMonitor() when window off-screen. #1

Open
mattkille opened this issue Sep 29, 2020 · 0 comments
Open

glcGetBestMonitor() when window off-screen. #1

mattkille opened this issue Sep 29, 2020 · 0 comments

Comments

@mattkille
Copy link

In glcGetBestMonitor(), I suggest initialising the bestArea variable to INT_MIN rather than 0.

Consider the case where the window is entirely outside monitor's bounds. The area calculation result would be negative, yet can still be the nearest 'best' choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant