comp_x_screensaver: screensaver off bug fix

Summary:
Can not turn off screensaver due to condition check bug.

@fixes

Test Plan: enlightenment -> do nothing -> screen saver on -> mouse/key input -> check whether screen saver is turned off or not

Reviewers: raster, cedric, zmike

Reviewed By: raster

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D766
This commit is contained in:
Wonguk Jeong 2014-04-18 09:35:43 +09:00 committed by Carsten Haitzler (Rasterman)
parent cf90b84a42
commit fb437cd1b0
1 changed files with 1 additions and 1 deletions

View File

@ -4306,7 +4306,7 @@ _e_comp_x_screensaver_eval_cb(void *d __UNUSED__)
ecore_event_add(E_EVENT_SCREENSAVER_ON, NULL, NULL, NULL);
}
}
else if (saver_on)
else
{
if (screensaver_idle_timer)
{