mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
windows: Removed hardcoded "1" for mouse clickthrough hint.
This commit is contained in:
parent
f10db4071d
commit
e64c5186e2
@ -201,7 +201,7 @@ WindowsScanCodeToSDLScanCode(LPARAM lParam, WPARAM wParam)
|
|||||||
static SDL_bool
|
static SDL_bool
|
||||||
WIN_ShouldIgnoreFocusClick()
|
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;
|
return (!hint || (*hint == '0')) ? SDL_TRUE : SDL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user