diff -r efda7c0771b9 -r 7b66bc3c6dc9 taskswitcher/screenshotplugin/src/tsscreenshotplugin.cpp --- a/taskswitcher/screenshotplugin/src/tsscreenshotplugin.cpp Wed Oct 13 12:59:22 2010 +0300 +++ b/taskswitcher/screenshotplugin/src/tsscreenshotplugin.cpp Mon Oct 18 10:44:15 2010 +0300 @@ -139,11 +139,15 @@ case TWservCrEvent::EWindowGroupChanged: if( KInvalidGroupId != iWindowGroupId ) { - NotifyWindowGroupToBackground( iWindowGroupId ); + if(iAllowedList->IsPresent(iWindowGroupId)) { TakeScreenshot( iWindowGroupId ); } + else + { + NotifyWindowGroupToBackground( iWindowGroupId ); + } } iWindowGroupId = aEvent.WindowGroupIdentifier(); break;