diff options
author | George Hazan <ghazan@miranda.im> | 2022-07-29 13:03:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-07-29 13:03:31 +0300 |
commit | 4347e469ab0a18edbc5b7bea431829fe16883054 (patch) | |
tree | 1bf54c5d277c56572b5cfe0d1d7edb09e5f8bbe5 /plugins/TabSRMM/src/chat_tools.cpp | |
parent | be8933b41671a50da5ae699df960aecf2a47e911 (diff) |
tabSRMM: fix for the perversion with private container settings
Diffstat (limited to 'plugins/TabSRMM/src/chat_tools.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_tools.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/chat_tools.cpp b/plugins/TabSRMM/src/chat_tools.cpp index 7506931a8e..ec4b8541fa 100644 --- a/plugins/TabSRMM/src/chat_tools.cpp +++ b/plugins/TabSRMM/src/chat_tools.cpp @@ -164,14 +164,14 @@ BOOL DoPopup(SESSION_INFO *si, GCEVENT *gce) goto passed;
return 0;
}
- if (pContainer->m_flags.m_bDontReport && IsIconic(pContainer->m_hwnd)) // in tray counts as "minimised"
+ if (pContainer->cfg.flags.m_bDontReport && IsIconic(pContainer->m_hwnd)) // in tray counts as "minimised"
goto passed;
- if (pContainer->m_flags.m_bDontReportUnfocused) {
+ if (pContainer->cfg.flags.m_bDontReportUnfocused) {
if (!IsIconic(pContainer->m_hwnd) && !pContainer->IsActive())
goto passed;
}
- if (pContainer->m_flags.m_bAlwaysReportInactive) {
- if (pContainer->m_flags.m_bDontReportFocused)
+ if (pContainer->cfg.flags.m_bAlwaysReportInactive) {
+ if (pContainer->cfg.flags.m_bDontReportFocused)
goto passed;
if (pContainer->m_hwndActive == si->pDlg->GetHwnd())
@@ -324,14 +324,14 @@ BOOL DoSoundsFlashPopupTrayStuff(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight ShowWindow(dat->m_pContainer->m_hwndActive, SW_HIDE);
dat->m_pContainer->m_hwndActive = dat->GetHwnd();
dat->m_pContainer->UpdateTitle(dat->m_hContact);
- dat->m_pContainer->m_flags.m_bDeferredTabSelect = true;
+ dat->m_pContainer->cfg.flags.m_bDeferredTabSelect = true;
}
}
}
// flash window if it is not focused
if (bMustFlash && bInactive)
- if (!dat->m_pContainer->m_flags.m_bNoFlash)
+ if (!dat->m_pContainer->cfg.flags.m_bNoFlash)
dat->m_pContainer->FlashContainer(1, 0);
if (hNotifyIcon && bInactive && ((gce->iType & si->iLogTrayFlags) || bForcedIcon)) {
@@ -349,7 +349,7 @@ BOOL DoSoundsFlashPopupTrayStuff(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight HICON hIcon = (HICON)SendMessage(dat->m_pContainer->m_hwnd, WM_GETICON, ICON_BIG, 0);
if (hNotifyIcon == hIconHighlight || (hIcon != hIconMessage && hIcon != hIconHighlight)) {
dat->m_pContainer->SetIcon(dat, hNotifyIcon);
- dat->m_pContainer->m_flags.m_bNeedsUpdateTitle = true;
+ dat->m_pContainer->cfg.flags.m_bNeedsUpdateTitle = true;
}
}
|