diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-02-04 11:28:01 -0500 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-02-04 11:28:01 -0500 |
commit | 50307822901289428da4bd79c26a17f1ea962807 (patch) | |
tree | 8e551a483705a1430ed70be7856d53b205cd3edf | |
parent | 52564251bcb54cea144db81df50d2510fb9b2d7d (diff) | |
download | efl-50307822901289428da4bd79c26a17f1ea962807.tar.gz |
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>
-rw-r--r-- | src/lib/ecore_x/xcb/ecore_xcb_screensaver.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/ecore_x/xcb/ecore_xcb_screensaver.c b/src/lib/ecore_x/xcb/ecore_xcb_screensaver.c index fb55bbd88b..2a6dadc84a 100644 --- a/src/lib/ecore_x/xcb/ecore_xcb_screensaver.c +++ b/src/lib/ecore_x/xcb/ecore_xcb_screensaver.c @@ -369,10 +369,15 @@ ecore_x_screensaver_custom_blanking_disable(void) #endif } - -EAPI void +EINA_DEPRECATED EAPI void ecore_x_screensaver_supend(void) { + ecore_x_screensaver_suspend(); +} + +EAPI void +ecore_x_screensaver_suspend(void) +{ #ifdef ECORE_XCB_SCREENSAVER xcb_screensaver_suspend(_ecore_xcb_conn, 1); #endif |