src/screensaverctrlplugin.cpp
branchRCL_3
changeset 29 65be1d84df1f
parent 26 e8d784ac1a4b
child 31 8f536f98e1f8
--- a/src/screensaverctrlplugin.cpp	Tue Sep 14 21:20:26 2010 +0300
+++ b/src/screensaverctrlplugin.cpp	Wed Sep 15 12:13:53 2010 +0300
@@ -63,8 +63,6 @@
 void CScreensaverCtrlPlugin::StartTimer()
     {
     // Notify plugin that screensaver is starting
-    Model().SharedDataInterface()->SetSSForcedLightsOn( ESSForceLightsOn );
-    
     SendPluginEvent( EScreensaverEventStarting );
     
     
@@ -284,6 +282,7 @@
     SCRLOGGER_WRITE("Host: ExitPartialMode()");
 
     LcdPartialMode()->Exit();
+    Model().SharedDataInterface()->SetSSForcedLightsOn( ESSForceLightsOn );
     // Make sure the partial area is empty
     // Make this less idiotic
     TRect psRect( 0, 0, 0, 0);