small patch from Antonio
svn path=/trunk/kdebase/kwin/; revision=65622
This commit is contained in:
parent
f0b5fcbe76
commit
731d758eb7
1 changed files with 6 additions and 2 deletions
|
@ -1667,7 +1667,7 @@ void Workspace::raiseClient( Client* c )
|
|||
for ( ClientList::ConstIterator it = stacking_order.fromLast(); it != stacking_order.end(); --it) {
|
||||
if ( (*it) == c )
|
||||
break;
|
||||
if ( (*it)->isVisible() && (*it)->isFullScreen() &&
|
||||
if ( (*it)->isVisible() && (*it)->isFullScreen() &&
|
||||
!(*it)->isDesktop() && (*it)->staysOnTop() ) {
|
||||
has_full_screen = true;
|
||||
break;
|
||||
|
@ -2295,7 +2295,11 @@ void Workspace::sendClientToDesktop( Client* c, int desk )
|
|||
return;
|
||||
|
||||
c->setDesktop( desk );
|
||||
c->hide();
|
||||
|
||||
if ( c->isOnDesktop( currentDesktop() ) )
|
||||
c->show();
|
||||
else
|
||||
c->hide();
|
||||
|
||||
for ( ClientList::ConstIterator it = clients.begin(); it != clients.end(); ++it) {
|
||||
if ( (*it)->transientFor() == c->window() ) {
|
||||
|
|
Loading…
Reference in a new issue