summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpuppetmaster <puppetmaster>2005-07-28 10:26:06 +0000
committerpuppetmaster <puppetmaster>2005-07-28 10:26:06 +0000
commit137d2bcbdf2098a25d4c7cf779cbd19e3e50c78b (patch)
treec9eac44cd5409037b57b94a5e05cad715cd75849
parentImplementation of XScreenSaverQueryExtension (diff)
downloadelock-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.c4
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);
+ }
}
/***********************************/