more dpms /screensaver setting force set to work around an apparent

xorg bug.



SVN revision: 76342
This commit is contained in:
Carsten Haitzler 2012-09-08 12:17:29 +00:00
parent c61c107346
commit 4639f361b3
2 changed files with 5 additions and 0 deletions

View File

@ -81,6 +81,7 @@ e_dpms_force_update(void)
suspend = e_config->dpms_suspend_timeout;
if (e_config->dpms_off_enable)
off = e_config->dpms_off_timeout;
ecore_x_dpms_timeouts_set(standby + 10, suspend + 10, off + 10);
ecore_x_dpms_timeouts_set(standby, suspend, off);
}

View File

@ -68,6 +68,10 @@ e_screensaver_force_update(void)
if ((e_config->screensaver_enable) && (!e_config->mode.presentation) &&
(!e_util_fullscreen_curreny_any()))
timeout = e_config->screensaver_timeout * count;
ecore_x_screensaver_set(timeout + 10,
e_config->screensaver_interval + 10,
!e_config->screensaver_blanking,
!e_config->screensaver_expose);
ecore_x_screensaver_set(timeout,
e_config->screensaver_interval,
e_config->screensaver_blanking,