Bug 1404294 - Enable dragging the window from empty toolbar areas when using the Light/Dark themes. r?sfoster draft
authorDão Gottwald <dao@mozilla.com>
Fri, 29 Sep 2017 13:39:23 +0200
changeset 672583 c4c07719f5e91a07cba259cf94eb917a9fb00006
parent 672296 e6c32278f32cd5f7d159627b2157396b62d0c4a9
child 733835 adc89bcc2bc94335b66541802f59e9909d83ba4d
push id82281
push userdgottwald@mozilla.com
push dateFri, 29 Sep 2017 11:39:52 +0000
reviewerssfoster
bugs1404294
milestone58.0a1
Bug 1404294 - Enable dragging the window from empty toolbar areas when using the Light/Dark themes. r?sfoster MozReview-Commit-ID: B7sQzXr5MBV
browser/themes/windows/compacttheme.css
--- a/browser/themes/windows/compacttheme.css
+++ b/browser/themes/windows/compacttheme.css
@@ -116,21 +116,16 @@
 
 #navigator-toolbox {
   /* The side borders on the toolbox also look out-of-place because we don't paint over
    * the native background color at all, and these are !important for the same reason as above. */
   border-left: none !important;
   border-right: none !important;
 }
 
-/* Disable dragging like in the default theme: */
-#main-window[tabsintitlebar] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):-moz-lwtheme {
-  -moz-window-dragging: no-drag;
-}
-
 @media (-moz-os-version: windows-win10) {
   .titlebar-button:-moz-lwtheme {
     -moz-context-properties: stroke;
     stroke: currentColor;
   }
   #titlebar-min:-moz-lwtheme {
     list-style-image: url(chrome://browser/skin/window-controls/minimize.svg);
   }