From 7b038dce329402000c163857e7da468d9f63821e Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Tue, 3 Mar 2015 20:10:12 +0900 Subject: [PATCH] Don't restore initial mode for new window --- modules/autoHide.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/autoHide.js b/modules/autoHide.js index 78f8d525..31921014 100644 --- a/modules/autoHide.js +++ b/modules/autoHide.js @@ -1435,6 +1435,9 @@ AutoHideWindow.prototype = inherit(AutoHideConstants, { var mode = this.treeStyleTab.isFullscreenAutoHide ? utils.getTreePref('tabbar.autoHide.mode.fullscreen') : this.lastMode; + if (mode == this.mode) + return; + this.mode = mode; if (mode != this.kMODE_DISABLED) this.updateKeyListeners(this.window);