impr: Unfocus ImGui windows when main window loses focus

This commit is contained in:
WerWolv
2024-02-03 23:56:08 +01:00
parent 64d147bf96
commit a6f4d0cdec
3 changed files with 29 additions and 0 deletions

View File

@@ -219,6 +219,7 @@ namespace hex {
EVENT_DEF(EventAbnormalTermination, int);
EVENT_DEF(EventThemeChanged);
EVENT_DEF(EventOSThemeChanged);
EVENT_DEF(EventWindowFocused, bool);
/**
* @brief Called when the provider is created.