diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-07 15:29:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-07 15:29:12 +0300 |
commit | e43e5e9e3ff94b20953c840a819952e4221654fa (patch) | |
tree | b942f39b5d614bb62ee21b18c700507b8b8ed5aa /plugins/TabSRMM/src/eventpopups.cpp | |
parent | ed526dc2746319cc3dbe376e9af20f6a49850687 (diff) |
tabSRMM:
- useless message DM_SETICON replaced with a call of SetIcon;
- fixes #1866 (when sub is changed, tabSRMM doesn't update an avatar in taskbar)
- code cleaning & names conflict resolution
Diffstat (limited to 'plugins/TabSRMM/src/eventpopups.cpp')
-rw-r--r-- | plugins/TabSRMM/src/eventpopups.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/eventpopups.cpp b/plugins/TabSRMM/src/eventpopups.cpp index 9ac79c631f..3f113e3632 100644 --- a/plugins/TabSRMM/src/eventpopups.cpp +++ b/plugins/TabSRMM/src/eventpopups.cpp @@ -739,15 +739,15 @@ int tabSRMM_ShowPopup(MCONTACT hContact, MEVENT hDbEvent, WORD eventType, int wi if (nen_options.bWindowCheck && windowOpen) // no popups at all for open windows... no exceptions
return 0;
- if (pContainer->dwFlags & CNT_DONTREPORT && (IsIconic(pContainer->m_hwnd))) // in tray counts as "minimised"
+ if (pContainer->m_dwFlags & CNT_DONTREPORT && (IsIconic(pContainer->m_hwnd))) // in tray counts as "minimised"
goto passed;
- if (pContainer->dwFlags & CNT_DONTREPORTUNFOCUSED)
+ if (pContainer->m_dwFlags & CNT_DONTREPORTUNFOCUSED)
if (!IsIconic(pContainer->m_hwnd) && !pContainer->IsActive())
goto passed;
- if (pContainer->dwFlags & CNT_ALWAYSREPORTINACTIVE) {
- if (pContainer->dwFlags & CNT_DONTREPORTFOCUSED)
+ if (pContainer->m_dwFlags & CNT_ALWAYSREPORTINACTIVE) {
+ if (pContainer->m_dwFlags & CNT_DONTREPORTFOCUSED)
goto passed;
if (pContainer->m_hwndActive != hwndChild)
|