idlefw/src/idleint/aiuiidleintegration.cpp
branchRCL_3
changeset 9 d0529222e3f0
parent 0 79c6a41cd166
child 18 bd874ee5e5e2
equal deleted inserted replaced
4:1a2a00e78665 9:d0529222e3f0
   104         {
   104         {
   105         aKeySoundConfig.iKeySounds
   105         aKeySoundConfig.iKeySounds
   106             ->PushContextL( aKeySoundConfig.iContextResId );            
   106             ->PushContextL( aKeySoundConfig.iContextResId );            
   107         }
   107         }
   108     
   108     
   109     // Set Active Idle application to be system application and disable
       
   110     // priority switching performed by window server.
       
   111     iEikEnv.SetSystem( ETrue );
   109     iEikEnv.SetSystem( ETrue );
   112     iEikEnv.WsSession().ComputeMode( RWsSession::EPriorityControlDisabled ); 
   110                  
   113              
       
   114     // Eikon server window group
   111     // Eikon server window group
   115     iThisApplicationWgId = iEikEnv.RootWin().Identifier();
   112     iThisApplicationWgId = iEikEnv.RootWin().Identifier();
   116 
       
   117     iEikEnv.RootWin().EnableFocusChangeEvents(); 
       
   118     iEikEnv.RootWin().EnableGroupChangeEvents();
       
   119     
   113     
   120     CApaWindowGroupName::FindByAppUid( KAknCapServerUid, 
   114     CApaWindowGroupName::FindByAppUid( KAknCapServerUid, 
   121                                        iEikEnv.WsSession(), 
   115                                        iEikEnv.WsSession(), 
   122                                        iEikonServerWgId );
   116                                        iEikonServerWgId );
   123 	           
   117