diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-05 11:47:37 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-05 11:47:37 +0300 |
commit | 11b0f497c9a7d13ea7caba9841d661f72389751c (patch) | |
tree | 40c9d116272d6a4c63a717cd68686a61e6e5c989 /plugins/TabSRMM/src/container.cpp | |
parent | 9ff6f169d1e2bd5bc139290d4abd6d7573fa6061 (diff) |
merge of SRMM related changes into stable
Diffstat (limited to 'plugins/TabSRMM/src/container.cpp')
-rw-r--r-- | plugins/TabSRMM/src/container.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 48f8eb29e6..fbf5fe0fae 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -2297,7 +2297,7 @@ void TSAPI ReflashContainer(TContainerData *pContainer) {
DWORD dwStartTime = pContainer->dwFlashingStarted;
- if (GetForegroundWindow() == pContainer->m_hwnd || GetActiveWindow() == pContainer->m_hwnd) // dont care about active windows
+ if (pContainer->IsActive()) // dont care about active windows
return;
if (pContainer->dwFlags & CNT_NOFLASH || pContainer->dwFlashingStarted == 0)
|