--- 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;