diff --git a/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch b/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch index b1bee0c5..e34f9564 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch @@ -38,16 +38,15 @@ BrowserRootView::~BrowserRootView() { // It's possible to destroy the browser while a drop is active. In this case, -@@ -265,8 +280,7 @@ bool BrowserRootView::OnMouseWheel(const +@@ -265,7 +280,7 @@ bool BrowserRootView::OnMouseWheel(const // Scroll-event-changes-tab is incompatible with scrolling tabstrip, so // disable it if the latter feature is enabled. - if (browser_defaults::kScrollEventChangesTab && -- !base::FeatureList::IsEnabled(features::kScrollableTabStrip)) { -+ if (scroll_event_changes_tab_) { ++ if (scroll_event_changes_tab_ && + !base::FeatureList::IsEnabled(features::kScrollableTabStrip)) { // Switch to the left/right tab if the wheel-scroll happens over the // tabstrip, or the empty space beside the tabstrip. - views::View* hit_view = GetEventHandlerForPoint(event.location()); --- a/chrome/browser/ui/views/frame/browser_root_view.h +++ b/chrome/browser/ui/views/frame/browser_root_view.h @@ -129,6 +129,8 @@ class BrowserRootView : public views::in diff --git a/patches/extra/ungoogled-chromium/popups-to-tabs.patch b/patches/extra/ungoogled-chromium/popups-to-tabs.patch index 8f726280..c0956570 100644 --- a/patches/extra/ungoogled-chromium/popups-to-tabs.patch +++ b/patches/extra/ungoogled-chromium/popups-to-tabs.patch @@ -11,3 +11,23 @@ default: NOTREACHED() << "Unexpected WebNavigationPolicy"; return WindowOpenDisposition::IGNORE_ACTION; +--- a/ui/base/mojom/window_open_disposition_mojom_traits.h ++++ b/ui/base/mojom/window_open_disposition_mojom_traits.h +@@ -28,7 +28,7 @@ struct EnumTraits