diff options
author | puppetmaster <puppetmaster> | 2005-07-28 10:26:06 +0000 |
---|---|---|
committer | puppetmaster <puppetmaster> | 2005-07-28 10:26:06 +0000 |
commit | 137d2bcbdf2098a25d4c7cf779cbd19e3e50c78b (patch) | |
tree | c9eac44cd5409037b57b94a5e05cad715cd75849 | |
parent | Implementation of XScreenSaverQueryExtension (diff) | |
download | elock-137d2bcbdf2098a25d4c7cf779cbd19e3e50c78b.tar.xz |
Added Query For minor and major verions of XScreenSaver Extention of X
-rw-r--r-- | ecore/src/lib/ecore_x/ecore_x.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ecore/src/lib/ecore_x/ecore_x.c b/ecore/src/lib/ecore_x/ecore_x.c index a55f729..a0639ec 100644 --- a/ecore/src/lib/ecore_x/ecore_x.c +++ b/ecore/src/lib/ecore_x/ecore_x.c @@ -208,6 +208,10 @@ ecore_x_init(const char *name) if (XScreenSaverQueryExtension(_ecore_x_disp, &scrnsaver_base, &scrnsaver_err_base)) { int v_major, v_minor; + if (XScreenSaverQueryVersion(ecore_x_disp, v_major, v_minor)) + { + fprintf(stdout,"MAJOR %d\nMINOR %d\n",v_major, v_minor); + } } /***********************************/ |