Fit the commit for #97490.

svn path=/trunk/KDE/kdebase/kwin/; revision=410020
This commit is contained in:
Luboš Luňák 2005-05-06 13:07:23 +00:00
parent d4c5fd676a
commit abc0141416

View file

@ -405,9 +405,9 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op )
}
case Options::KeepBelowOp:
{
c->setKeepBelow( !c->keepBelow() );
StackingUpdatesBlocker blocker( this );
bool was = c->keepBelow();
c->setKeepBelow( !c->keepBelow() );
if( was && !c->keepBelow())
lowerClient( c );
break;