From 00be6a4f0074005f6b7433ae841dadf6b4deff98 Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Mon, 5 Dec 2011 16:27:33 +0900 Subject: [PATCH] don't show content area screen if the window is not active --- modules/autoHide.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/autoHide.js b/modules/autoHide.js index 4f80a505..a9ae265d 100644 --- a/modules/autoHide.js +++ b/modules/autoHide.js @@ -629,7 +629,11 @@ AutoHideBrowser.prototype = { }, showHideContentsAreaScreen : function AHB_showHideContentsAreaScreen() { - if (this.expanded && this.contentAreaScreenEnabled) { + if ( + this.expanded && + this.contentAreaScreenEnabled && + this.FocusManager.activeWindow.top == this.window + ) { let box = this.getContentsAreaBox(); let style = this.screen.style; let width = Math.min(box.width, this.window.screen.availWidth - box.screenX);