secure referenced windows in uncomposited tabbox highlighting

BUG: 263250
This commit is contained in:
Thomas Lübking 2011-02-14 20:37:35 +01:00
parent ef44c1b5b6
commit 1fc3fb4db2

View file

@ -722,6 +722,10 @@ void TabBoxHandler::createModel( bool partialReset )
{
case TabBoxConfig::ClientTabBox:
d->clientModel()->createClientList( partialReset );
if (d->lastRaisedClient && !stackingOrder().contains(d->lastRaisedClient))
d->lastRaisedClient = 0;
if (d->lastRaisedClientSucc && !stackingOrder().contains(d->lastRaisedClientSucc))
d->lastRaisedClientSucc = 0;
break;
case TabBoxConfig::DesktopTabBox:
d->desktopModel()->createDesktopList();