From 0cd102cceca19d0a0d12ae507c7b8e54d88adca9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 20 Apr 2018 18:34:30 +0300 Subject: grrm... more fixes for #1288 --- src/mir_app/src/chat_tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mir_app/src/chat_tools.cpp b/src/mir_app/src/chat_tools.cpp index d137c6d8f3..c7def6e4d8 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 || !ContainsWindow(GetForegroundWindow(), si->pDlg->GetHwnd()); int iEvent = gce->iType; -- cgit v1.2.3