windows: Removed hardcoded "1" for mouse clickthrough hint.
This commit is contained in:
parent
efa4b74b56
commit
77f3e9007b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue