forked from enlightenment/efl
ecore-x: Port deprecated API and new API function to xcb
Summary: This ports the deprecated screensaver_suspend and new API screensaver_suspend to work with xcb. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
52564251bc
commit
5030782290
|
@ -369,9 +369,14 @@ ecore_x_screensaver_custom_blanking_disable(void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EINA_DEPRECATED EAPI void
|
||||||
|
ecore_x_screensaver_supend(void)
|
||||||
|
{
|
||||||
|
ecore_x_screensaver_suspend();
|
||||||
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
ecore_x_screensaver_supend(void)
|
ecore_x_screensaver_suspend(void)
|
||||||
{
|
{
|
||||||
#ifdef ECORE_XCB_SCREENSAVER
|
#ifdef ECORE_XCB_SCREENSAVER
|
||||||
xcb_screensaver_suspend(_ecore_xcb_conn, 1);
|
xcb_screensaver_suspend(_ecore_xcb_conn, 1);
|
||||||
|
|
Loading…
Reference in New Issue