Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
Ecore_X.h ecore_x.c
Log Message:
Get a better current time.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -3 -r1.111 -r1.112
--- Ecore_X.h 28 Apr 2005 06:50:10 -0000 1.111
+++ Ecore_X.h 28 Apr 2005 07:48:16 -0000 1.112
@@ -65,8 +65,6 @@
#define ECORE_X_DND_VERSION 5
-#define ECORE_X_CURRENT_TIME 0
-
extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_COPY;
extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_MOVE;
extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_LINK;
@@ -843,6 +841,8 @@
EAPI void ecore_x_sync(void);
EAPI void ecore_x_killall(Ecore_X_Window root);
EAPI void ecore_x_kill(Ecore_X_Window win);
+
+EAPI Ecore_X_Time ecore_x_current_time_get(void);
EAPI void ecore_x_error_handler_set(void (*func) (void *data),
const void *data);
EAPI void ecore_x_io_error_handler_set(void (*func) (void *data),
const void *data);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -3 -r1.73 -r1.74
--- ecore_x.c 28 Apr 2005 06:50:11 -0000 1.73
+++ ecore_x.c 28 Apr 2005 07:48:16 -0000 1.74
@@ -573,6 +573,15 @@
XKillClient(_ecore_x_disp, win);
}
+/**
+ * Return the last event time
+ */
+Ecore_X_Time
+ecore_x_current_time_get(void)
+{
+ return _ecore_x_event_last_time;
+}
+
static int
_ecore_x_fd_handler(void *data, Ecore_Fd_Handler *fd_handler __UNUSED__)
{
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs