summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpuppetmaster <puppetmaster>2005-07-28 10:13:28 +0000
committerpuppetmaster <puppetmaster>2005-07-28 10:13:28 +0000
commit1239921ca18a18a8b01834b672185866bfeb824c (patch)
treebda11e551663adf1ca36641cdafb5491cdb7526a
parentf7314c870669f105d21814729b9fe2dd1160437d (diff)
Implementation of XScreenSaverQueryExtension
-rw-r--r--ecore/src/lib/ecore_x/ecore_x.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ecore/src/lib/ecore_x/ecore_x.c b/ecore/src/lib/ecore_x/ecore_x.c
index 2d52bc3..a55f729 100644
--- a/ecore/src/lib/ecore_x/ecore_x.c
+++ b/ecore/src/lib/ecore_x/ecore_x.c
@@ -177,6 +177,8 @@ ecore_x_init(const char *name)
177 int shape_err_base = 0; 177 int shape_err_base = 0;
178 int sync_base = 0; 178 int sync_base = 0;
179 int sync_err_base = 0; 179 int sync_err_base = 0;
180 int scrnsaver_base = 0;
181 int scrnsaver_err_base = 0;
180 182
181 if (_ecore_x_init_count > 0) 183 if (_ecore_x_init_count > 0)
182 { 184 {
@@ -201,6 +203,15 @@ ecore_x_init(const char *name)
201 if (!XSyncInitialize(_ecore_x_disp, &major, &minor)) 203 if (!XSyncInitialize(_ecore_x_disp, &major, &minor))
202 _ecore_x_event_sync_id = 0; 204 _ecore_x_event_sync_id = 0;
203 } 205 }
206
207 /* For XScreenSaver extention of X */
208 if (XScreenSaverQueryExtension(_ecore_x_disp, &scrnsaver_base, &scrnsaver_err_base))
209 {
210 int v_major, v_minor;
211 }
212
213 /***********************************/
214
204 if (_ecore_x_event_sync_id + XSyncAlarmNotify >= LASTEvent) 215 if (_ecore_x_event_sync_id + XSyncAlarmNotify >= LASTEvent)
205 _ecore_x_event_handlers_num = _ecore_x_event_sync_id + XSyncAlarmNotify + 1; 216 _ecore_x_event_handlers_num = _ecore_x_event_sync_id + XSyncAlarmNotify + 1;
206 217