Bug 1264983 - Make the awesomebar popup the same level as the parent window so that it doesn't cover the OS X dock. r?mak draft
authorDrew Willcoxon <adw@mozilla.com>
Fri, 15 Apr 2016 13:05:50 -0700
changeset 352155 f1755c171be00e524fcccfd82a03ecb123ae2375
parent 352108 009d7df1ba6d97a5abd2ed417a3464a8e948742c
child 352157 20057bdbab4b5cbeb655cbaf4e2fdf7e47102061
push id15627
push userdwillcoxon@mozilla.com
push dateFri, 15 Apr 2016 20:06:07 +0000
reviewersmak
bugs1264983
milestone48.0a1
Bug 1264983 - Make the awesomebar popup the same level as the parent window so that it doesn't cover the OS X dock. r?mak MozReview-Commit-ID: DRctlR06pdv
browser/base/content/browser.xul
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -135,17 +135,22 @@
 
     <!-- for search and content formfill/pw manager -->
     <panel type="autocomplete" id="PopupAutoComplete" noautofocus="true" hidden="true"/>
 
     <!-- for search with one-off buttons -->
     <panel type="autocomplete" id="PopupSearchAutoComplete" noautofocus="true" hidden="true"/>
 
     <!-- for url bar autocomplete -->
-    <panel type="autocomplete-richlistbox" id="PopupAutoCompleteRichResult" noautofocus="true" hidden="true" flip="none">
+    <panel type="autocomplete-richlistbox"
+           id="PopupAutoCompleteRichResult"
+           noautofocus="true"
+           hidden="true"
+           flip="none"
+           level="parent">
 #ifdef NIGHTLY_BUILD
       <hbox id="urlbar-search-footer" flex="1" align="stretch" pack="end">
         <button id="urlbar-search-settings" label="&changeSearchSettings.button;"
                 oncommand="BrowserUITelemetry.countSearchSettingsEvent('urlbar'); openPreferences('paneSearch')"/>
       </hbox>
 #endif
     </panel>