Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Mouse position aligned to screen #12

Description

@paewie

I was updating MonoGame DesktopGL to the newest Development snapshot when experiencing the following:
My Mouse.GetState() call returned the mouse's position relative to the Top-Left corner of the screen, not the GameWindow as before and expected.
Tracking this further I ended up with OpenTK.Input.Mouse.GetCursorState() returning this misaligned position which is simply copied to the MonoGame-struct's variables. Therefore I'm assuming this is a bug or whatever within this certain function. I was able to reproduce this exact behavior on two completely different Windows 10 x64 machines, no idea whether it appears on other systems, too.
Let me know if I can help or if it's my problem,
regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions