more staying on top

svn path=/trunk/kdebase/kwin/; revision=56113
icc-effect-5.14.5
Matthias Ettrich 2000-07-11 14:49:52 +00:00
parent c3a382cac9
commit 99211a9236
2 changed files with 3 additions and 5 deletions

View File

@ -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 );

View File

@ -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()