"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
This commit is contained in:
Thomas Lübking 2011-11-23 20:22:57 +01:00
parent 6ba2d30274
commit 796c9d43ae

View file

@ -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?