summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-20 18:34:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-20 18:34:30 +0300
commit0cd102cceca19d0a0d12ae507c7b8e54d88adca9 (patch)
tree62683463b8258b9c2a0d8e65da66e0f961023f30 /src
parentadac917df1b99bc0861e94c4edd8cbff5feb077e (diff)
grrm... more fixes for #1288
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/chat_tools.cpp2
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 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;