From c5f7695d410c15170320ddbc43fd96a4c5a00b96 Mon Sep 17 00:00:00 2001 From: puppetmaster Date: Thu, 28 Jul 2005 13:20:19 +0000 Subject: Added include for extensions on ecore_x_private.h more for query --- ecore/src/lib/ecore_x/ecore_x.c | 2 ++ ecore/src/lib/ecore_x/ecore_x_private.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ecore/src/lib/ecore_x/ecore_x.c b/ecore/src/lib/ecore_x/ecore_x.c index a0639ec..479e10d 100644 --- a/ecore/src/lib/ecore_x/ecore_x.c +++ b/ecore/src/lib/ecore_x/ecore_x.c @@ -18,6 +18,7 @@ static Ecore_Fd_Handler *_ecore_x_fd_handler_handle = NULL; static Ecore_Event_Filter *_ecore_x_filter_handler = NULL; static int _ecore_x_event_shape_id = 0; static int _ecore_x_event_sync_id = 0; +static int _ecore_x_event_scrnsaver_id = 0; static int _ecore_x_event_handlers_num = 0; static void (**_ecore_x_event_handlers) (XEvent * event) = NULL; @@ -207,6 +208,7 @@ ecore_x_init(const char *name) /* For XScreenSaver extention of X */ if (XScreenSaverQueryExtension(_ecore_x_disp, &scrnsaver_base, &scrnsaver_err_base)) { + _ecore_x_event_scrnsaver_id = scrnsaver_base + ScreenSaverNotify /*FIXME*/ int v_major, v_minor; if (XScreenSaverQueryVersion(ecore_x_disp, v_major, v_minor)) { diff --git a/ecore/src/lib/ecore_x/ecore_x_private.h b/ecore/src/lib/ecore_x/ecore_x_private.h index bc9d87b..56db306 100644 --- a/ecore/src/lib/ecore_x/ecore_x_private.h +++ b/ecore/src/lib/ecore_x/ecore_x_private.h @@ -27,6 +27,9 @@ #ifdef ECORE_XINERAMA #include #endif +#ifdef ECORE_XSCREENSAVER +#include +#endif #include "Ecore_X.h" -- cgit v1.2.3