not _that_ many sounds

svn path=/trunk/kdebase/kwin/; revision=62340
This commit is contained in:
Matthias Ettrich 2000-08-31 17:31:45 +00:00
parent a309da9f0e
commit 8ec069b98d

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;