From 3525d1ce022d151744bff6a3534e42522a78fe2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 22 Nov 2015 10:37:21 +0100 Subject: [PATCH] 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 --- effects/slideback/slideback.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/effects/slideback/slideback.cpp b/effects/slideback/slideback.cpp index 003ae29c7f..97400bc62d 100644 --- a/effects/slideback/slideback.cpp +++ b/effects/slideback/slideback.cpp @@ -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. 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()