Don't unshade iconified windows on activation (revert to old behavior -
requested by Sven Faerber). SVN revision: 28713
This commit is contained in:
parent
0409340ad7
commit
2025d8294e
|
@ -1493,16 +1493,20 @@ EwinMoveToArea(EWin * ewin, int ax, int ay)
|
|||
void
|
||||
EwinOpActivate(EWin * ewin, int source, int raise)
|
||||
{
|
||||
int unshade;
|
||||
|
||||
if (source == OPSRC_APP && EwinInhGetApp(ewin, focus))
|
||||
return;
|
||||
|
||||
unshade = ewin->state.shaded && !ewin->state.iconified;
|
||||
|
||||
if (!ewin->state.animated && !ewin->state.iconified)
|
||||
DeskGotoByEwin(ewin);
|
||||
if (raise)
|
||||
EwinOpRaise(ewin, source);
|
||||
if (ewin->state.iconified)
|
||||
EwinOpIconify(ewin, source, 0);
|
||||
if (ewin->state.shaded)
|
||||
if (unshade)
|
||||
EwinOpShade(ewin, source, 0);
|
||||
FocusToEWin(ewin, FOCUS_SET);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue