diff options
-rw-r--r-- | ecore/src/lib/ecore_x/ecore_x_screensaver.c | 35 |
1 files changed, 35 insertions, 0 deletions
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, +}*/ |