CT: revert non-feature (revision 1.345)

svn path=/trunk/kdebase/kwin/; revision=175049
This commit is contained in:
Cristian Tibirna 2002-09-01 11:39:51 +00:00
parent 6acf67398b
commit e5d7df3d7f

View file

@ -2996,10 +2996,6 @@ void Workspace::sendClientToDesktop( Client* c, int desk )
c->setDesktop( desk ); c->setDesktop( desk );
if( desk == NETWinInfo::OnAllDesktops ) if( desk == NETWinInfo::OnAllDesktops )
c->setSticky( true ); c->setSticky( true );
else
//CT 01Jul2002 - the old position is most probably inappropriate on the new desktop
// thus we place the client again, before we show it, but only if it's not OnAllDesktops
place(c);
if ( c->isOnDesktop( currentDesktop() ) ) { if ( c->isOnDesktop( currentDesktop() ) ) {
c->show(); c->show();