Skip to content

Commit

Permalink
windows: Removed hardcoded "1" for mouse clickthrough hint.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 30, 2016
1 parent f10db40 commit e64c518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/windows/SDL_windowsevents.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit e64c518

Please sign in to comment.