diff --git a/shell/browser/ui/views/client_frame_view_linux.cc b/shell/browser/ui/views/client_frame_view_linux.cc index efb5870ee193b..c31b33d07ed5c 100644 --- a/shell/browser/ui/views/client_frame_view_linux.cc +++ b/shell/browser/ui/views/client_frame_view_linux.cc @@ -72,6 +72,7 @@ ClientFrameViewLinux::ClientFrameViewLinux() button.button->SetImageVerticalAlignment(views::ImageButton::ALIGN_MIDDLE); button.button->SetAccessibleName( l10n_util::GetStringUTF16(button.accessibility_id)); + views::SetHitTestComponent(button.button, button.hit_test_id); AddChildView(button.button); }