SDL icon indicating copy to clipboard operation
SDL copied to clipboard

SDL_SetRelativeMouseMode specific to a window

Open luppichristian opened this issue 1 year ago • 0 comments

It would be useful to be allowed to specify a window when calling SDL_SetRelativeMouseMode.

For example someone might have a game window where the relative mouse mode should be on, and another debug-editing window where the relative mouse mode should be off.

I guess you could work around this enabling/disabling the relative mouse mode depending on the current focused window but in my opinion the change I suggested would make the API more clear and effective.

luppichristian avatar Jun 16 '24 20:06 luppichristian