Skip to content

glcGetBestMonitor() when window off-screen. #1

@mattkille

Description

@mattkille

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions