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:
Philip Chee 2009-07-29 10:10:38 +02:00
Родитель bed6074247
Коммит dda20afcfe
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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) {}
]]>