blob: a58769788db89377c0cf55d6a9c1423aad32c17d (
plain) (
tree)
|
|
--- chrome/browser/ui/views/tabs/tab_hover_card_controller.cc.orig 2022-04-21 18:48:31 UTC
+++ chrome/browser/ui/views/tabs/tab_hover_card_controller.cc
@@ -68,7 +68,7 @@ GetMemoryPressureOverride() {
// Fetches the Omnibox drop-down widget, or returns null if the drop-down is
// not visible.
void FixWidgetStackOrder(views::Widget* widget, const Browser* browser) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Ensure the hover card Widget assumes the highest z-order to avoid occlusion
// by other secondary UI Widgets (such as the omnibox Widget, see
// crbug.com/1226536).
|