explicitly update the stack track on unminimization

the stackingOrderChanged() signal came before the window turned an effect window
usually this is no problem as the change shall not be caught anyway, but
the window may have changed its stack position

BUG: 353745
FIXED-IN: 5.5
REVIEW: 126134
This commit is contained in:
Thomas Lübking 2015-11-22 10:37:21 +01:00
parent e2632f3816
commit 3525d1ce02

View file

@ -276,6 +276,10 @@ void SlideBackEffect::slotWindowUnminimized(EffectWindow* w)
{ {
// SlideBack should not be triggered on an unminimized window. For this we need to store the last unminimized window. // SlideBack should not be triggered on an unminimized window. For this we need to store the last unminimized window.
m_justMapped = w; m_justMapped = w;
// the stackingOrderChanged() signal came before the window turned an effect window
// usually this is no problem as the change shall not be caught anyway, but
// the window may have changed its stack position, bug #353745
slotStackingOrderChanged();
} }
void SlideBackEffect::slotTabBoxAdded() void SlideBackEffect::slotTabBoxAdded()