diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-14 16:26:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-14 16:26:02 +0300 |
commit | 2b5922a413634e236585bc9039450974f8ab2268 (patch) | |
tree | f2ef387b4a0c9ca5dbe0395fc6be1d3be6bde31f /plugins | |
parent | 2723a75e981a2998c2243586c0214dd73d7e3874 (diff) |
chat behaviour unification: if a window isn't closed, but only minimized, clist extra icon gets enabled again when a new message comes (till window gets focused)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/chat_window.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp index 9d7c6f9211..6dd8682774 100644 --- a/plugins/TabSRMM/src/chat_window.cpp +++ b/plugins/TabSRMM/src/chat_window.cpp @@ -1932,13 +1932,12 @@ INT_PTR CChatRoomDlg::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) break; case WM_ACTIVATE: + case WM_MOUSEACTIVATE: if (LOWORD(wParam) != WA_ACTIVE) { m_pContainer->hwndSaved = nullptr; break; } - __fallthrough; - case WM_MOUSEACTIVATE: UpdateWindowState(WM_ACTIVATE); return 1; |