forked from enlightenment/efl
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:
parent
cc17bb7fbf
commit
d7765bb21f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue