From e64c5186e2fbb69cfed6537c15d0c58538b11b0d Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 29 Sep 2016 23:42:18 -0400 Subject: [PATCH] windows: Removed hardcoded "1" for mouse clickthrough hint. --- src/video/windows/SDL_windowsevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c index f92206646..8b5fbec39 100644 --- a/src/video/windows/SDL_windowsevents.c +++ b/src/video/windows/SDL_windowsevents.c @@ -201,7 +201,7 @@ WindowsScanCodeToSDLScanCode(LPARAM lParam, WPARAM wParam) static SDL_bool WIN_ShouldIgnoreFocusClick() { - const char *hint = "1";//SDL_GetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH); + const char *hint = SDL_GetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH); return (!hint || (*hint == '0')) ? SDL_TRUE : SDL_FALSE; }