From d399fc5d09063b1767d67d53ca23a41958dc37f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kimmo=20H=E4m=E4l=E4inen?= Date: Wed, 15 Dec 2010 11:30:12 +0200 Subject: Fixes: NB#206559 - The QDialog items don't draw correctly - decorate transient (non-LMT) dialogs also - fix decorator raising/lowering to not depend on the current application Conflicts: src/mcompositemanager.cpp --- src/mcompositemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcompositemanager.cpp b/src/mcompositemanager.cpp index 131e8d1..5ee91f7 100644 --- a/src/mcompositemanager.cpp +++ b/src/mcompositemanager.cpp @@ -2121,7 +2121,7 @@ void MCompositeManagerPrivate::checkStacking(bool force_visibility_check, deco->decoratorItem()->setVisible(true); glwidget->update(); } - } else if (!highest_d || top_decorated_i < 0) { + } else if ((!highest_d || top_decorated_i < 0) && deco->decoratorItem()) { Window deco_w = deco->decoratorItem()->window(); int deco_i = stacking_list.indexOf(deco_w); if (deco_i > 0) { -- cgit v1.2.3