Enable the SDL_HINT_MOUSE_DOUBLE_CLICK_TIME and SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS hints on macOS

Fixes https://github.com/libsdl-org/SDL/issues/4000
This commit is contained in:
Sam Lantinga
2024-12-06 17:06:26 -08:00
parent 6d1dac1404
commit 900627f7fc
2 changed files with 7 additions and 3 deletions

View File

@@ -277,6 +277,8 @@ int main(int argc, char *argv[])
SDL_RenderClear(renderer);
}
SDL_StopTextInput(state->windows[0]);
SDL_StopTextInput(state->windows[0]);
/* Main render loop */
done = 0;
#ifdef SDL_PLATFORM_EMSCRIPTEN