diff options
author | puppetmaster <puppetmaster> | 2005-07-28 22:07:14 +0000 |
---|---|---|
committer | puppetmaster <puppetmaster> | 2005-07-28 22:07:14 +0000 |
commit | 11fedac01ae64497e023c5449ec36c7d2f8d98ec (patch) | |
tree | 444f8cf42dd5168acae206450e48eb0a7f0bf8d0 | |
parent | added (diff) | |
download | elock-11fedac01ae64497e023c5449ec36c7d2f8d98ec.tar.xz |
adding wrapper implementation
-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, +}*/ |