pkgsrc-wip/chromium/patches/patch-chrome_browser_ui_vie...

14 lines
535 B
C++

$NetBSD$
--- chrome/browser/ui/views/tabs/tab.cc.orig 2020-07-08 21:41:47.000000000 +0000
+++ chrome/browser/ui/views/tabs/tab.cc
@@ -596,7 +596,7 @@ void Tab::MaybeUpdateHoverStatus(const u
if (mouse_hovered_ || !GetWidget()->IsMouseEventsEnabled())
return;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
// Move the hit test area for hovering up so that it is not overlapped by tab
// hover cards when they are shown.
// TODO(crbug/978134): Once Linux/CrOS widget transparency is solved, remove