more staying on top
svn path=/trunk/kdebase/kwin/; revision=56113
This commit is contained in:
parent
c3a382cac9
commit
99211a9236
2 changed files with 3 additions and 5 deletions
|
@ -562,6 +562,7 @@ void Client::manage( bool isMapped )
|
|||
setMappingState( state );
|
||||
if ( state == NormalState && isOnDesktop( workspace()->currentDesktop() ) ) {
|
||||
Events::raise( isTransient() ? Events::TransNew : Events::New );
|
||||
workspace()->raiseClient( this ); // ensure constrains
|
||||
show();
|
||||
if ( options->focusPolicyIsReasonable() && wantsTabFocus() )
|
||||
workspace()->requestFocus( this );
|
||||
|
|
|
@ -259,7 +259,7 @@ Workspace::Workspace( bool restore )
|
|||
grabKey(XK_Tab, ControlMask | ShiftMask);
|
||||
createKeybindings();
|
||||
tab_box = new TabBox( this );
|
||||
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
|
@ -348,10 +348,7 @@ void Workspace::init()
|
|||
}
|
||||
|
||||
updateClientArea();
|
||||
|
||||
// initialize stacking
|
||||
if ( stacking_order.last() )
|
||||
raiseClient( stacking_order.last() );
|
||||
|
||||
}
|
||||
|
||||
Workspace::~Workspace()
|
||||
|
|
Loading…
Reference in a new issue