comment on restoring minimized windows when hides_on_minimize

This commit is contained in:
foudfou 2013-10-10 22:16:19 +02:00
parent 4bbb66cde8
commit 28c0932e57
1 changed files with 3 additions and 1 deletions

View File

@ -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) {