From f40769c8194baedf0ade3eec7c7e3c2676e0e2ab Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Apr 2023 18:33:10 +0300 Subject: =?UTF-8?q?fixes=20#3487=20(tabSRMM:=20=D1=83=D0=B2=D0=B5=D0=B4?= =?UTF-8?q?=D0=BE=D0=BC=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BE=20=D0=BD?= =?UTF-8?q?=D0=B0=D0=B1=D0=BE=D1=80=D0=B5=20=D1=82=D0=B5=D0=BA=D1=81=D1=82?= =?UTF-8?q?=D0=B0=20=D0=B8=D0=B7=20=D0=B0=D0=BA=D1=82=D0=B8=D0=B2=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D0=B8=20=D0=BD=D0=B5=D0=B0=D0=BA=D1=82=D0=B8?= =?UTF-8?q?=D0=B2=D0=BD=D1=8B=D1=85=20=D0=B2=D0=BA=D0=BB=D0=B0=D0=B4=D0=BE?= =?UTF-8?q?=D0=BA)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/TabSRMM/src/generic_msghandlers.cpp | 12 +++--------- 1 file 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) -- cgit v1.2.3