Skip to content

Commit

Permalink
commandline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Jun 12, 2024
1 parent 88976f1 commit 9757fd1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/windowed.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ public:
static auto NoBlockOnLostFocusHook = safetyhook::create_mid(pattern.get_first(),
[](SafetyHookContext& ctx)
{
if (!*grcDevice__ms_bNoBlockOnLostFocus)
{
FusionFixSettings.Set("PREF_BLOCKONLOSTFOCUS", *grcDevice__ms_bNoBlockOnLostFocus);
return;
}
*grcDevice__ms_bNoBlockOnLostFocus = FusionFixSettings.Get("PREF_BLOCKONLOSTFOCUS");
});
};
Expand Down

0 comments on commit 9757fd1

Please sign in to comment.