summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-02-04 11:28:01 -0500
committerChris Michael <cp.michael@samsung.com>2015-02-04 11:28:01 -0500
commit50307822901289428da4bd79c26a17f1ea962807 (patch)
tree8e551a483705a1430ed70be7856d53b205cd3edf
parent52564251bcb54cea144db81df50d2510fb9b2d7d (diff)
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.c9
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)
369#endif 369#endif
370} 370}
371 371
372 372EINA_DEPRECATED EAPI void
373EAPI void
374ecore_x_screensaver_supend(void) 373ecore_x_screensaver_supend(void)
375{ 374{
375 ecore_x_screensaver_suspend();
376}
377
378EAPI void
379ecore_x_screensaver_suspend(void)
380{
376#ifdef ECORE_XCB_SCREENSAVER 381#ifdef ECORE_XCB_SCREENSAVER
377 xcb_screensaver_suspend(_ecore_xcb_conn, 1); 382 xcb_screensaver_suspend(_ecore_xcb_conn, 1);
378#endif 383#endif