SDL icon indicating copy to clipboard operation
SDL copied to clipboard

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

Open Please-just-dont opened this issue 6 months ago • 0 comments

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.

Please-just-dont avatar Jun 09 '25 12:06 Please-just-dont