diff options
| author | George Hazan <ghazan@miranda.im> | 2018-06-03 22:35:20 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2018-06-03 22:35:20 +0300 |
| commit | a4549ec2b353a0995bcfba17b7d42c047e7c8ee8 (patch) | |
| tree | 061300126750e4865ef0bb5b48ddab4bc43d0416 /src/mir_app | |
| parent | 0fae00f05addee2e71081038b6700aa5eaeaf20b (diff) | |
fixes #1401 (fixes inactive session detection)
Diffstat (limited to 'src/mir_app')
| -rw-r--r-- | src/mir_app/src/chat_tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/chat_tools.cpp b/src/mir_app/src/chat_tools.cpp index 79c5022557..986e25a4db 100644 --- a/src/mir_app/src/chat_tools.cpp +++ b/src/mir_app/src/chat_tools.cpp @@ -284,7 +284,7 @@ BOOL DoSoundsFlashPopupTrayStuff(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight if (!gce || !si || gce->bIsMe || si->iType == GCW_SERVER)
return FALSE;
- BOOL bInactive = si->pDlg == nullptr || !ContainsWindow(GetForegroundWindow(), si->pDlg->GetHwnd());
+ BOOL bInactive = si->pDlg == nullptr || !si->pDlg->IsActive();
int iEvent = gce->iType;
|
