mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 398907: Firefox saves wrong window restore size while closing a maximized window. r=mano, a=blocking-firefox3+
This commit is contained in:
parent
e0e0b69e49
commit
3010ab4915
@ -1087,14 +1087,6 @@ function BrowserShutdown()
|
||||
|
||||
BrowserOffline.uninit();
|
||||
|
||||
// Store current window position/size into the window attributes
|
||||
// for persistence.
|
||||
var win = document.documentElement;
|
||||
win.setAttribute("x", window.screenX);
|
||||
win.setAttribute("y", window.screenY);
|
||||
win.setAttribute("height", window.outerHeight);
|
||||
win.setAttribute("width", window.outerWidth);
|
||||
|
||||
var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();
|
||||
var windowManagerInterface = windowManager.QueryInterface(Components.interfaces.nsIWindowMediator);
|
||||
var enumerator = windowManagerInterface.getEnumerator(null);
|
||||
|
Loading…
Reference in New Issue
Block a user