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 committed 2024-12-06 17:07:16 -08:00
1 parent 6d1dac1404
commit 900627f7fc
2 files changed
+7 -3

No files matched your search

+2
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