diff options
author | George Hazan <ghazan@miranda.im> | 2023-04-18 18:33:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-04-18 18:33:10 +0300 |
commit | f40769c8194baedf0ade3eec7c7e3c2676e0e2ab (patch) | |
tree | d7707732e15d1488ac5c64ebc17f55b32f819381 | |
parent | b46f5b4aa78c44f1934183786ae39051ba59f145 (diff) |
fixes #3487 (tabSRMM: уведомления о наборе текста из активных и неактивных вкладок)
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index f69e6de35d..86858c1328 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -910,11 +910,7 @@ void CMsgDialog::DM_Typing(bool fForceOff) }
UpdateWindowIcon();
HandleIconFeedback(this, (HICON)-1);
- CMsgDialog *dat_active = (CMsgDialog*)GetWindowLongPtr(m_pContainer->m_hwndActive, GWLP_USERDATA);
- if (dat_active && !dat_active->isChat())
- m_pContainer->UpdateTitle(0);
- else
- m_pContainer->UpdateTitle(0, dat_active);
+
if (!m_pContainer->cfg.flags.m_bNoFlash && PluginConfig.m_FlashOnMTN)
m_pContainer->ReflashContainer();
}
@@ -937,12 +933,10 @@ void CMsgDialog::DM_Typing(bool fForceOff) SendMessage(hwndStatus, SB_SETTEXT, 0, (LPARAM)m_wszStatusBar);
SendMessage(hwndStatus, SB_SETICON, 0, (LPARAM)PluginConfig.g_buttonBarIcons[ICON_DEFAULT_TYPING]);
}
- if (IsIconic(hwndContainer) || !IsActive()) {
- SetWindowText(hwndContainer, m_wszStatusBar);
- m_pContainer->cfg.flags.m_bNeedsUpdateTitle = true;
+
+ if (IsIconic(hwndContainer) || !IsActive())
if (!m_pContainer->cfg.flags.m_bNoFlash && PluginConfig.m_FlashOnMTN)
m_pContainer->ReflashContainer();
- }
if (m_pContainer->m_hwndActive != m_hwnd) {
if (m_bCanFlashTab)
|