Skip to content

When SDL relative mouse mode is on and a break point is hit while debugging. #13195

Open
@Please-just-dont

Description

@Please-just-dont

I'm on Linux Mint, and this isn't a problem on Windows, and I'm unaware whether it happens in other Linux distributions, but there is this issue where if SDL mouse relative mode is on and a debug breakpoint is hit during debugging I lose all mouse control, and interestingly keyboard input too. SDL relative mouse mode is supposed to stop the mouse from moving by I think centreing it in the middle of the SDL_Window. I think what's happening is that when a debug breakpoint is hit it brings the IDE window to the front but the mouse control is still going to the SDL_Window? I've experienced this issue with both CLion and VSCode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions