From 796c9d43ae354fc08f81fa62b359676f4ac997ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Wed, 23 Nov 2011 20:22:57 +0100 Subject: [PATCH] "do NOT attempt to call suspendCompositing(true); from within the eventchain!" either... sth. changed, possibly damage collection - dunno. however this now leads to undefined states as well can't reproduce bug #280508 afterwards either - pot. implicitly fixing by bypassing pollution (BeFaded was probably just resistent by different stacking order handling) CCBUG: 280508 --- composite.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composite.cpp b/composite.cpp index aa721b84c2..86aa4e5128 100644 --- a/composite.cpp +++ b/composite.cpp @@ -270,8 +270,9 @@ void Workspace::updateCompositeBlocking(Client *c) { if (c) { // if c == 0 we just check if we can resume if (c->isBlockingCompositing()) { + if (!compositingBlocked) // do NOT attempt to call suspendCompositing(true); from within the eventchain! + QMetaObject::invokeMethod(this, "slotToggleCompositing", Qt::QueuedConnection); compositingBlocked = true; - suspendCompositing(true); } } else if (compositingBlocked) { // lost a client and we're blocked - can we resume?