[Pkg-mozext-commits] [tabmixplus] 06/147: Follow up bug 1311439 - Skip _notifyBackgroundTab for hidden tabs

David Prévot taffit at moszumanska.debian.org
Sat Aug 5 15:27:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 624f695a6234f4900ae54acf461c9819a502569e
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sat Oct 22 12:22:02 2016 +0300

    Follow up bug 1311439 - Skip _notifyBackgroundTab for hidden tabs
---
 chrome/content/tab/tabbrowser_4.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/tab/tabbrowser_4.xml b/chrome/content/tab/tabbrowser_4.xml
index 7eec9f4..f0aae92 100644
--- a/chrome/content/tab/tabbrowser_4.xml
+++ b/chrome/content/tab/tabbrowser_4.xml
@@ -437,8 +437,9 @@
       <method name="_notifyBackgroundTab">
         <parameter name="aTab"/>
         <body><![CDATA[
-          if (aTab.pinned)
+          if (aTab.pinned || aTab.hidden) {
             return;
+          }
           // Is the new tab already completely visible?
           if (Tabmix.tabsUtils.isElementVisible(aTab))
             return;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list