diff --git a/src/main.c b/src/main.c index 2f44d7c9..1b57f93e 100644 --- a/src/main.c +++ b/src/main.c @@ -117,6 +117,9 @@ int main(int argc, char **argv) { ** It also enables aero-snap on Windows apparently. */ SDL_SetHint("SDL_BORDERLESS_RESIZABLE_STYLE", "1"); #endif +#if SDL_VERSION_ATLEAST(2, 0, 9) + SDL_SetHint("SDL_MOUSE_DOUBLE_CLICK_RADIUS", "4"); +#endif SDL_DisplayMode dm; SDL_GetCurrentDisplayMode(0, &dm);