not _that_ many sounds
svn path=/trunk/kdebase/kwin/; revision=62340
This commit is contained in:
parent
a309da9f0e
commit
8ec069b98d
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue