taskswitcher/screenshotplugin/src/tsscreenshotplugin.cpp
changeset 127 7b66bc3c6dc9
parent 125 26079c1bb561
equal deleted inserted replaced
126:efda7c0771b9 127:7b66bc3c6dc9
   137     {
   137     {
   138     switch (aEvent.Type()) {
   138     switch (aEvent.Type()) {
   139     case TWservCrEvent::EWindowGroupChanged:
   139     case TWservCrEvent::EWindowGroupChanged:
   140         if( KInvalidGroupId != iWindowGroupId )
   140         if( KInvalidGroupId != iWindowGroupId )
   141             {
   141             {
   142             NotifyWindowGroupToBackground( iWindowGroupId );
   142             
   143             if(iAllowedList->IsPresent(iWindowGroupId))
   143             if(iAllowedList->IsPresent(iWindowGroupId))
   144                 {
   144                 {
   145                 TakeScreenshot( iWindowGroupId );
   145                 TakeScreenshot( iWindowGroupId );
       
   146                 }
       
   147             else
       
   148                 {
       
   149                 NotifyWindowGroupToBackground( iWindowGroupId );
   146                 }
   150                 }
   147             }
   151             }
   148         iWindowGroupId = aEvent.WindowGroupIdentifier();
   152         iWindowGroupId = aEvent.WindowGroupIdentifier();
   149         break;
   153         break;
   150     case TWservCrEvent::EDeviceOrientationChanged:
   154     case TWservCrEvent::EDeviceOrientationChanged: