From 11fedac01ae64497e023c5449ec36c7d2f8d98ec Mon Sep 17 00:00:00 2001 From: puppetmaster Date: Thu, 28 Jul 2005 22:07:14 +0000 Subject: adding wrapper implementation --- ecore/src/lib/ecore_x/ecore_x_screensaver.c | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ecore/src/lib/ecore_x/ecore_x_screensaver.c diff --git a/ecore/src/lib/ecore_x/ecore_x_screensaver.c b/ecore/src/lib/ecore_x/ecore_x_screensaver.c new file mode 100644 index 0000000..c0dcc05 --- /dev/null +++ b/ecore/src/lib/ecore_x/ecore_x_screensaver.c @@ -0,0 +1,35 @@ +/* ECORE WRAPPER FOR XScreenSaver Extension of X */ + +#include "Ecore.h" +#include "ecore_x_private.h" +#include "Ecore_X.h" +#include "Ecore_X_Atoms.h" + +#ifdef ECORE_SCRENNSAVER + +#endif + +XScreenSaverInfo ecore_x_screensaver_get_alloc_info(void) +{ + XScreenSaverInfo info; + Ecore_X_Window root; + + root = DefaultRootWindow(_ecore_x_disp); + + if (!XScreenSaverQueryInfo (_ecore_x_disp,root,info)) + return info; + else + return NULL; +} + +void ecore_x_screensaver_free_alloc_info(XScreenSaverQueryInfo info_to_free) +{ + XFree(info_to_free); + return ; +} +/* + * FIXME +void ecore_x_screensaver_select_input(void) +{ + if (!XScreenSaverSelectInput(_ecore_x_disp, +}*/ -- cgit v1.2.3