aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__hover__card__controller.cc
blob: 6b60931ed6e5e4761d1317e2b6b50d895db66065 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                                               
                                                             
                                               


                                                                             

                                             


                                                                                 
--- chrome/browser/ui/views/tabs/tab_hover_card_controller.cc.orig	2022-05-19 14:06:27 UTC
+++ chrome/browser/ui/views/tabs/tab_hover_card_controller.cc
@@ -71,7 +71,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).