Small fixes.

svn path=/trunk/KDE/kdebase/workspace/; revision=527758
This commit is contained in:
Luboš Luňák 2006-04-09 09:50:56 +00:00
parent e1b40efb22
commit 45c632848a
2 changed files with 3 additions and 3 deletions

View file

@ -97,9 +97,9 @@ void Workspace::updateClientLayer( Client* c )
void Workspace::updateStackingOrder( bool propagate_new_clients ) void Workspace::updateStackingOrder( bool propagate_new_clients )
{ {
if( block_stacking_updates > 0 ) if( block_stacking_updates > 0 && propagate_new_clients )
{ {
blocked_propagating_new_clients |= propagate_new_clients; blocked_propagating_new_clients = true;
return; return;
} }
ClientList new_stacking_order = constrainedStackingOrder(); ClientList new_stacking_order = constrainedStackingOrder();

View file

@ -470,7 +470,7 @@ bool Client::performMouseCommand( Options::MouseCommand command, QPoint globalPo
cancelShadeHover(); cancelShadeHover();
break; break;
case Options::MouseOperationsMenu: case Options::MouseOperationsMenu:
if ( isActive() & options->clickRaise ) if ( isActive() && options->clickRaise )
autoRaise(); autoRaise();
workspace()->showWindowMenu( globalPos, this ); workspace()->showWindowMenu( globalPos, this );
break; break;