From 0cd7f4957164cd57be2e9689c3f7759abc7c1e01 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 6 Dec 2020 17:23:46 +0300 Subject: more fixes for #2630 (Clist_blind: strange work of user search) --- plugins/Clist_blind/src/init.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_blind/src') diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp index f5ceb6f379..1fd3138dd6 100644 --- a/plugins/Clist_blind/src/init.cpp +++ b/plugins/Clist_blind/src/init.cpp @@ -308,10 +308,9 @@ LRESULT CALLBACK ContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l LRESULT CALLBACK ContactListControlSubclass(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { - if (msg == WM_CHAR) { - coreCli.pfnContactListControlWndProc(GetParent(hwnd), msg, wParam, lParam); - return 0; - } + if (msg == WM_CHAR || msg == WM_KEYDOWN) + if (LRESULT res = coreCli.pfnContactListControlWndProc(GetParent(hwnd), msg, wParam, lParam)) + return res; return mir_callNextSubclass(hwnd, ContactListControlSubclass, msg, wParam, lParam); } -- cgit v1.2.3