We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf38c30 + 5aa6aef commit 9de43ccCopy full SHA for 9de43cc
src/Libraries/INPUT/Source/sdl_events.c
@@ -266,7 +266,7 @@ void SetMouseXY(int mx, int my)
266
}
267
268
bool inside = (mx >= x && mx < x+w && my >= y && my < y+h);
269
- bool focus = (SDL_GetWindowFlags(window) & SDL_WINDOW_INPUT_FOCUS);
+ bool focus = (SDL_GetWindowFlags(window) & SDL_WINDOW_MOUSE_FOCUS);
270
271
if (!inside && focus)
272
{
0 commit comments