ecore-x: Fix calls to disable dpms in xcb

Summary: We already have ecore_x_dpms code which handles this
properly, so call it here.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-27 10:27:49 -05:00
parent cc17bb7fbf
commit d7765bb21f
1 changed files with 2 additions and 2 deletions

View File

@ -389,11 +389,11 @@ ecore_x_screensaver_resume(void)
EAPI void
ecore_x_screensaver_reset(void)
{
xcb_dpms_disable(_ecore_xcb_conn);
ecore_x_dpms_enabled_set(0);
}
EAPI void
ecore_x_screensaver_activate(void)
{
xcb_dpms_enable(_ecore_xcb_conn);
ecore_x_dpms_enabled_set(1);
}