From 151a37c494b5cb30ea40627bf1b82eb7783fc6fa Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 May 2025 17:46:50 +0300 Subject: fixes #4440 completely --- plugins/TabSRMM/src/container.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/TabSRMM/src/container.cpp') diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 5c6ba4c320..e6faee405b 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -1720,12 +1720,9 @@ panel_found: case WM_EXITSIZEMOVE: GetClientRect(pContainer->m_hwndTabs, &rc); - if (!((rc.right - rc.left) == pContainer->m_oldSize.cx && (rc.bottom - rc.top) == pContainer->m_oldSize.cy)) { - dat = (CMsgDialog*)GetWindowLongPtr(pContainer->m_hwndActive, GWLP_USERDATA); - if (dat) - dat->DM_ScrollToBottom(0, 0); + if ((rc.right - rc.left) != pContainer->m_oldSize.cx || (rc.bottom - rc.top) != pContainer->m_oldSize.cy) SendMessage(pContainer->m_hwndActive, WM_SIZE, 0, 0); - } + pContainer->m_bSizingLoop = FALSE; break; -- cgit v1.2.3