ref: 8469711716d00a297a675954a2d79b3b89805bfa
parent: 2d8950a1a600603e5ea6977616a2859cc4d5b030
author: Olav Sørensen <olav.sorensen@live.no>
date: Tue Feb 1 12:58:25 EST 2022
Don't handle mouse click if window wasn't in focus
--- a/src/ft2_video.c
+++ b/src/ft2_video.c
@@ -923,10 +923,6 @@
setWindowSizeFromConfig(false);
-#if SDL_PATCHLEVEL >= 5 // SDL 2.0.5 or later
- SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1");
-#endif
-
SDL_GetDesktopDisplayMode(0, &dm);
video.dMonitorRefreshRate = (double)dm.refresh_rate;