focus to null (or desktop ) on last-window-iconified

svn path=/trunk/kdebase/kwin/; revision=54602
This commit is contained in:
Matthias Ettrich 2000-06-27 14:43:12 +00:00
parent d2bba865d0
commit 7ae8ea2bf9

View file

@ -1046,11 +1046,15 @@ void Workspace::clientHidden( Client* c )
{
if ((*it)->isVisible()) {
requestFocus(*it);
break;
return;
}
}
}
}
if ( desktop_client )
requestFocus( desktop_client );
else
focusToNull();
}