From 137d2bcbdf2098a25d4c7cf779cbd19e3e50c78b Mon Sep 17 00:00:00 2001 From: puppetmaster Date: Thu, 28 Jul 2005 10:26:06 +0000 Subject: Added Query For minor and major verions of XScreenSaver Extention of X --- ecore/src/lib/ecore_x/ecore_x.c | 4 ++++ 1 file changed, 4 insertions(+) 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); + } } /***********************************/ -- cgit v1.2.3