mirror of
https://github.com/moparisthebest/FireTray
synced 2025-01-09 12:38:04 -05:00
comment on restoring minimized windows when hides_on_minimize
This commit is contained in:
parent
4bbb66cde8
commit
28c0932e57
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user