[Pkg-mozext-commits] [firetray] 388/399: comment on restoring minimized windows when hides_on_minimize

David Prévot taffit at alioth.debian.org
Tue Oct 29 18:24:20 UTC 2013


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

taffit pushed a commit to branch dfsg-clean
in repository firetray.

commit 28c0932e573d205693a93a66528b391a725d8b7a
Author: foudfou <foudil.newbie+git at gmail.com>
Date:   Thu Oct 10 22:16:19 2013 +0200

    comment on restoring minimized windows when hides_on_minimize
---
 src/modules/linux/FiretrayWindow.jsm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/modules/linux/FiretrayWindow.jsm b/src/modules/linux/FiretrayWindow.jsm
index 72ff962..12b498c 100644
--- a/src/modules/linux/FiretrayWindow.jsm
+++ b/src/modules/linux/FiretrayWindow.jsm
@@ -324,8 +324,10 @@ firetray.Window = {
       log.debug("restored minimized");
     }
 
-    /* helps prevent getting iconify event following show() */
+    /* we expect the WM to actually show the window *not* minimized once
+     restored */
     if (firetray.Utils.prefService.getBoolPref('hides_on_minimize'))
+      // help prevent getting iconify event following show()
       firetray.Handler.windows[xid].chromeWin.restore(); // nsIDOMChromeWindow.idl
 
     if (winStates & FIRETRAY_XWINDOW_MAXIMIZED) {

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



More information about the Pkg-mozext-commits mailing list