From 705b0ffb59d6f916f79dcfa2719975e1fac16cf2 Mon Sep 17 00:00:00 2001 From: foudfou Date: Thu, 6 Feb 2014 00:17:28 +0100 Subject: [PATCH] don't cache and update windows[wid].visible, windowsCount, visibleWindowsCount Because the number of windows will generally be small, this is not worth the effort. --- src/chrome/content/overlay.xul | 2 +- src/modules/FiretrayHandler.jsm | 41 +++++++++++++++++------- src/modules/FiretrayWindow.jsm | 12 ------- src/modules/ctypes/linux/gtk.jsm | 1 + src/modules/linux/FiretrayStatusIcon.jsm | 8 ++++- src/modules/linux/FiretrayWindow.jsm | 39 ++++++---------------- src/modules/winnt/FiretrayWindow.jsm | 37 ++++++--------------- 7 files changed, 56 insertions(+), 84 deletions(-) diff --git a/src/chrome/content/overlay.xul b/src/chrome/content/overlay.xul index b5ec2ad..3ffea10 100644 --- a/src/chrome/content/overlay.xul +++ b/src/chrome/content/overlay.xul @@ -2,7 +2,7 @@ -