From 1fc3fb4db2368eecd6f15841c4d664301c8634d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 14 Feb 2011 20:37:35 +0100 Subject: [PATCH] secure referenced windows in uncomposited tabbox highlighting BUG: 263250 --- tabbox/tabboxhandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tabbox/tabboxhandler.cpp b/tabbox/tabboxhandler.cpp index b6bd8bde9f..85fccfd364 100644 --- a/tabbox/tabboxhandler.cpp +++ b/tabbox/tabboxhandler.cpp @@ -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();