Apply autoHide mode only for the active window
This commit is contained in:
parent
af8a061ca1
commit
67fcb13e05
@ -1425,9 +1425,11 @@ AutoHideWindow.prototype = inherit(AutoHideConstants, {
|
|||||||
utils.getTreePref(toggleKey) :
|
utils.getTreePref(toggleKey) :
|
||||||
AutoHideBrowser.prototype.kMODE_DISABLED ;
|
AutoHideBrowser.prototype.kMODE_DISABLED ;
|
||||||
|
|
||||||
utils.setTreePref(key, mode);
|
this.treeStyleTab.setPrefForActiveWindow(function() {
|
||||||
b.setAttribute(AutoHideBrowser.prototype.kMODE+'-'+(w.fullScreen ? 'fullscreen' : 'normal' ), mode);
|
utils.setTreePref(key, mode);
|
||||||
b.treeStyleTab.autoHide.updateMode();
|
b.setAttribute(AutoHideBrowser.prototype.kMODE+'-'+(w.fullScreen ? 'fullscreen' : 'normal' ), mode);
|
||||||
|
b.treeStyleTab.autoHide.updateMode();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
restoreLastState: function AHW_restoreLastState()
|
restoreLastState: function AHW_restoreLastState()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user