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_netwm.c
Log Message:
Time can't be negative.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -3 -r1.126 -r1.127
--- Ecore_X.h 2 Jun 2005 20:14:13 -0000 1.126
+++ Ecore_X.h 3 Jun 2005 11:58:09 -0000 1.127
@@ -1217,8 +1217,8 @@
EAPI int ecore_x_netwm_pid_get(Ecore_X_Window win, int *pid);
EAPI void ecore_x_netwm_handled_icons_set(Ecore_X_Window win);
EAPI int ecore_x_netwm_handled_icons_get(Ecore_X_Window win);
-EAPI void ecore_x_netwm_user_time_set(Ecore_X_Window win, int
time);
-EAPI int ecore_x_netwm_user_time_get(Ecore_X_Window win, int
*time);
+EAPI void ecore_x_netwm_user_time_set(Ecore_X_Window win,
unsigned int time);
+EAPI int ecore_x_netwm_user_time_get(Ecore_X_Window win,
unsigned int *time);
EAPI Ecore_X_Window_State *ecore_x_netwm_window_state_list_get(Ecore_X_Window
win, int *num);
EAPI int ecore_x_netwm_window_state_list_set(Ecore_X_Window
win, Ecore_X_Window_State *state, int num);
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_netwm.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ecore_x_netwm.c 3 Jun 2005 05:38:20 -0000 1.21
+++ ecore_x_netwm.c 3 Jun 2005 11:58:10 -0000 1.22
@@ -860,17 +860,14 @@
}
void
-ecore_x_netwm_user_time_set(Ecore_X_Window win, int time)
+ecore_x_netwm_user_time_set(Ecore_X_Window win, unsigned int time)
{
- unsigned int tmp;
-
- tmp = time;
ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_NET_WM_USER_TIME,
- &tmp, 1);
+ &time, 1);
}
int
-ecore_x_netwm_user_time_get(Ecore_X_Window win, int *time)
+ecore_x_netwm_user_time_get(Ecore_X_Window win, unsigned int *time)
{
int ret;
unsigned int tmp;
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs