Bug 1521277 - Port bug 1241885: Remove reference to WindowDraggingUtils.jsm. rs=bustage-fix DONTBUILD
authorJorg K <jorgk@jorgk.com>
Sat, 19 Jan 2019 09:26:14 +0100
changeset 34242 e1982e53702ac3bb4bc63b159986c6f89ee2d998
parent 34241 e87ac6b1e47e3084a17a6547049c8f0a01b46c59
child 34243 c79237b13f9acde0e0a1e7f5d1a18492bc9d3858
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersbustage-fix
bugs1521277, 1241885
Bug 1521277 - Port bug 1241885: Remove reference to WindowDraggingUtils.jsm. rs=bustage-fix DONTBUILD
mail/base/content/msgMail3PaneWindow.js
--- a/mail/base/content/msgMail3PaneWindow.js
+++ b/mail/base/content/msgMail3PaneWindow.js
@@ -445,22 +445,16 @@ function OnLoadMessenger() {
     } else if (AppConstants.isPlatformAndVersionAtLeast("win", "10")) {
       // 17763 is the build number of Windows 10 version 1809
       if (getWindowsVersionInfo().buildNumber < 17763) {
         document.documentElement.setAttribute("always-use-accent-color-for-window-border", "");
       }
     }
   }
 
-  if (AppConstants.platform == "linux") {
-    let { WindowDraggingElement } =
-      ChromeUtils.import("resource://gre/modules/WindowDraggingUtils.jsm", {});
-    new WindowDraggingElement(document.getElementById("titlebar"));
-  }
-
   ToolbarIconColor.init();
 
   // Set a sane starting width/height for all resolutions on new profiles.
   // Do this before the window loads.
   if (!document.documentElement.hasAttribute("width")) {
     // Prefer 1024xfull height.
     let defaultHeight = screen.availHeight;
     let defaultWidth = (screen.availWidth <= 1024) ? screen.availWidth : 1024;