forked from e16/e16
1
0
Fork 0

Don't show icons for iconified window transients in iconbox after restart.

SVN revision: 13724
This commit is contained in:
Kim Woelders 2005-03-13 15:20:02 +00:00
parent de9888f1b6
commit 699461a935
1 changed files with 10 additions and 1 deletions

View File

@ -409,7 +409,8 @@ EwinIconify(EWin * ewin)
was_shaded = ewin->shaded;
ModulesSignal(ESIGNAL_EWIN_ICONIFY, ewin);
if (!ewin->client.transient)
ModulesSignal(ESIGNAL_EWIN_ICONIFY, ewin);
HideEwin(ewin);
@ -419,6 +420,13 @@ EwinIconify(EWin * ewin)
if (was_shaded != ewin->shaded)
EwinInstantShade(ewin, 0);
if (ewin->client.transient)
{
/* We should only get here during restart */
ewin->iconified = 4;
goto done;
}
ewin->iconified = 3;
ICCCM_Iconify(ewin);
@ -442,6 +450,7 @@ EwinIconify(EWin * ewin)
HintsSetWindowState(ewin);
done:
call_depth--;
}