taskswitcher/screenshotplugin/src/tsscreenshotplugin.cpp
changeset 127 7b66bc3c6dc9
parent 125 26079c1bb561
--- 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;