diff -r 3321d3e205b6 -r b01126ce0bec taskswitcher/taskswitcherui/taskswitcherapp/src/tsappui.cpp --- a/taskswitcher/taskswitcherui/taskswitcherapp/src/tsappui.cpp Tue Sep 14 20:58:58 2010 +0300 +++ b/taskswitcher/taskswitcherui/taskswitcherapp/src/tsappui.cpp Wed Sep 15 12:00:00 2010 +0300 @@ -584,10 +584,8 @@ TSLOG_CONTEXT( MoveAppToForeground, TSLOG_LOCAL ); TSLOG_IN(); - if ( !iUiStarted ) - { - TRAP_IGNORE( iUnderAppWgId = WgIdOfUnderlyingAppL(EFalse) ); - } + TRAP_IGNORE( iUnderAppWgId = WgIdOfUnderlyingAppL(EFalse) ); + iUiStarted = ETrue; // Request window server to bring our application