not _that_ many sounds

svn path=/trunk/kdebase/kwin/; revision=62340
icc-effect-5.14.5
Matthias Ettrich 2000-08-31 17:31:45 +00:00
parent a309da9f0e
commit 8ec069b98d
1 changed files with 4 additions and 3 deletions

View File

@ -1925,14 +1925,15 @@ void Client::setShade( bool s )
void Client::setActive( bool act)
{
windowWrapper()->setActive( act );
if ( act ) {
if ( act )
workspace()->setActiveClient( this );
Events::raise( Events::Activate );
}
if ( active == act )
return;
active = act;
if ( active )
Events::raise( Events::Activate );
if ( !active && autoRaiseTimer ) {
delete autoRaiseTimer;
autoRaiseTimer = 0;