diff options
author | George Hazan <ghazan@miranda.im> | 2021-03-07 20:47:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-03-07 20:47:17 +0300 |
commit | 2eb1e940e68d81d72d8a3cb0798e7a4cdc9ce5e6 (patch) | |
tree | e53e14563de128f725102549e476083e3cc70f68 /plugins/TabSRMM/src/taskbar.cpp | |
parent | 9852392895d7c94c84ff3b4ff8966676a493f87c (diff) |
further code cleaning & simplification
Diffstat (limited to 'plugins/TabSRMM/src/taskbar.cpp')
-rw-r--r-- | plugins/TabSRMM/src/taskbar.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/taskbar.cpp b/plugins/TabSRMM/src/taskbar.cpp index 63afe06305..094cebf30a 100644 --- a/plugins/TabSRMM/src/taskbar.cpp +++ b/plugins/TabSRMM/src/taskbar.cpp @@ -494,8 +494,10 @@ LRESULT CALLBACK CProxyWindow::wndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARA // to the real message window.
if (WA_ACTIVE == wParam) {
if (IsWindow(m_dat->GetHwnd()))
- ::PostMessage(m_dat->GetHwnd(), DM_ACTIVATEME, 0, 0);
- return 0; // no default processing, avoid flickering.
+ m_dat->ActivateTab();
+
+ // no default processing, avoid flickering.
+ return 0;
}
break;
|