ft2-clone

Fasttracker 2 clone
Log | Files | Refs | README | LICENSE

commit 8469711716d00a297a675954a2d79b3b89805bfa
parent 2d8950a1a600603e5ea6977616a2859cc4d5b030
Author: Olav Sørensen <olav.sorensen@live.no>
Date:   Tue,  1 Feb 2022 17:57:58 +0100

Don't handle mouse click if window wasn't in focus

Diffstat:
Msrc/ft2_video.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/ft2_video.c b/src/ft2_video.c @@ -923,10 +923,6 @@ bool setupWindow(void) 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;