Commit e64c5186e2fbb69cfed6537c15d0c58538b11b0d

Ryan C. Gordon 2016-09-29T23:42:18

windows: Removed hardcoded "1" for mouse clickthrough hint.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c
index f922066..8b5fbec 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;
 }