Bug 506001 - [Port Bug 505700] Don't allow moving the window with the toolbar while in fullscreen mode; r=stefanh sr=neil
This commit is contained in:
Родитель
bed6074247
Коммит
dda20afcfe
|
@ -263,7 +263,8 @@
|
|||
Components.utils.import("resource://gre/modules/WindowDraggingUtils.jsm");
|
||||
let draggableThis = new WindowDraggingElement(this, window);
|
||||
draggableThis.mouseDownCheck = function(e) {
|
||||
return !this.parentNode.customizing; // Don't move while customizing.
|
||||
// Don't move while customizing or while in full screen mode.
|
||||
return !(this.parentNode.customizing || window.fullScreen);
|
||||
}
|
||||
} catch (e) {}
|
||||
]]>
|
||||
|
|
Загрузка…
Ссылка в новой задаче