more sound effects
svn path=/trunk/kdebase/kwin/; revision=62336
This commit is contained in:
parent
bf33b067be
commit
d53798aaf0
3 changed files with 8 additions and 2 deletions
|
@ -1857,6 +1857,9 @@ void Client::setShade( bool s )
|
|||
if ( shaded == s )
|
||||
return;
|
||||
|
||||
if ( isVisible() )
|
||||
Events::raise( s ? Events::ShadeDown : Events::ShadeUp );
|
||||
|
||||
shaded = s;
|
||||
|
||||
int as = options->animateShade? options->animSteps : 1;
|
||||
|
|
1
events.h
1
events.h
|
@ -12,6 +12,7 @@ class Events
|
|||
public:
|
||||
|
||||
enum Event {
|
||||
Activate,
|
||||
Close,
|
||||
Iconify,
|
||||
DeIconify,
|
||||
|
|
|
@ -984,8 +984,10 @@ void Workspace::activateClient( Client* c)
|
|||
Events::raise( Events::DeIconify );
|
||||
c->show();
|
||||
iconifyOrDeiconifyTransientsOf( c );
|
||||
if ( options->focusPolicyIsReasonable() )
|
||||
if ( options->focusPolicyIsReasonable() ) {
|
||||
requestFocus( c );
|
||||
Events::raise( Events::Activate );
|
||||
}
|
||||
}
|
||||
|
||||
void Workspace::iconifyOrDeiconifyTransientsOf( Client* c )
|
||||
|
|
Loading…
Reference in a new issue