forked from enlightenment/enlightenment
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:
parent
cf90b84a42
commit
fb437cd1b0
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue