Set SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH

This commit is contained in:
Bill Kendrick 2022-09-15 00:39:58 -07:00
parent cc05925d9e
commit 9edb6effa6
2 changed files with 10 additions and 1 deletions

View file

@ -29444,6 +29444,11 @@ static void setup(void)
}
}
/* Clicking into window while unfocused would not let
the clicks through, which was unlike how things worked
in SDL1.2, and I found that annoying -bjk 2022.09.15 */
SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1");
/* Set up event filter */
SDL_SetEventFilter(TP_EventFilter, NULL);
@ -29684,7 +29689,6 @@ static void setup(void)
}
}
#endif
}
else
{