Don't show icons for iconified window transients in iconbox after restart.
SVN revision: 13724
This commit is contained in:
parent
de9888f1b6
commit
699461a935
|
@ -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--;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue