From 860d61661b82198bae93736980c340f5d2c4e152 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Sat, 9 May 2020 19:08:46 +0200 Subject: notebook: fix focus when changing tabs --- alf/alfcombobox.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'alf/alfcombobox.cpp') diff --git a/alf/alfcombobox.cpp b/alf/alfcombobox.cpp index eebb269..a227a8d 100644 --- a/alf/alfcombobox.cpp +++ b/alf/alfcombobox.cpp @@ -285,6 +285,10 @@ ALF__ComboWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) return TRUE; } + if (ALF_ShouldMessageBubble(hwnd, uMsg, wParam, lParam)) { + return SendMessage(GetParent(hwnd), uMsg, wParam, lParam); + } + return DefWindowProc(hwnd, uMsg, wParam, lParam); } -- cgit v1.2.3