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 ecore_x_e.c ecore_x_icccm.c ecore_x_netwm.c ecore_x_private.h Log Message: Make subsystem init private. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v retrieving revision 1.142 retrieving revision 1.143 diff -u -3 -r1.142 -r1.143 --- Ecore_X.h 4 Sep 2005 00:25:20 -0000 1.142 +++ Ecore_X.h 7 Sep 2005 09:31:36 -0000 1.143 @@ -1078,7 +1078,6 @@ EAPI void ecore_x_window_client_sniff(Ecore_X_Window win); EAPI Ecore_X_Atom ecore_x_atom_get(const char *name); -EAPI void ecore_x_icccm_init(void); EAPI void ecore_x_icccm_state_set(Ecore_X_Window win, Ecore_X_Window_State_Hint state); EAPI Ecore_X_Window_State_Hint ecore_x_icccm_state_get(Ecore_X_Window win); EAPI void ecore_x_icccm_delete_window_send(Ecore_X_Window win, Ecore_X_Time t); @@ -1185,7 +1184,6 @@ EAPI void ecore_x_mwm_borderless_set(Ecore_X_Window win, int borderless); /* netwm */ -EAPI void ecore_x_netwm_init(void); EAPI void ecore_x_netwm_wm_identify(Ecore_X_Window root, Ecore_X_Window check, const char *wm_name); EAPI void ecore_x_netwm_supported_set(Ecore_X_Window root, Ecore_X_Atom *supported, int num); EAPI int ecore_x_netwm_supported_get(Ecore_X_Window root, Ecore_X_Atom **supported, int *num); @@ -1243,7 +1241,6 @@ -EAPI void ecore_x_e_init(void); EAPI void ecore_x_e_frame_size_set(Ecore_X_Window win, int fl, int fr, int ft, int fb); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x.c,v retrieving revision 1.93 retrieving revision 1.94 diff -u -3 -r1.93 -r1.94 --- ecore_x.c 17 Aug 2005 00:30:09 -0000 1.93 +++ ecore_x.c 7 Sep 2005 09:31:36 -0000 1.94 @@ -385,17 +385,17 @@ ECORE_X_ATOM_TEXT = XInternAtom(_ecore_x_disp, "TEXT", False); /* Set up the ICCCM hints */ - ecore_x_icccm_init(); + _ecore_x_icccm_init(); ECORE_X_ATOM_MOTIF_WM_HINTS = XInternAtom(_ecore_x_disp, "_MOTIF_WM_HINTS", False); ECORE_X_ATOM_WIN_LAYER = XInternAtom(_ecore_x_disp, "_WIN_LAYER", False); /* Set up the _NET_... hints */ - ecore_x_netwm_init(); + _ecore_x_netwm_init(); /* old e hints init */ - ecore_x_e_init(); + _ecore_x_e_init(); /* This is just to be anal about naming conventions */ ECORE_X_ATOM_SELECTION_TARGETS = XInternAtom(_ecore_x_disp, "TARGETS", False); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_e.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ecore_x_e.c 16 May 2005 12:59:26 -0000 1.2 +++ ecore_x_e.c 7 Sep 2005 09:31:36 -0000 1.3 @@ -19,7 +19,7 @@ Ecore_X_Atom ECORE_X_ATOM_E_FRAME_SIZE = 0; void -ecore_x_e_init(void) +_ecore_x_e_init(void) { ECORE_X_ATOM_E_FRAME_SIZE = _ATOM_GET("_E_FRAME_SIZE"); } =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_icccm.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- ecore_x_icccm.c 26 Aug 2005 10:00:15 -0000 1.36 +++ ecore_x_icccm.c 7 Sep 2005 09:31:36 -0000 1.37 @@ -32,7 +32,7 @@ Ecore_X_Atom ECORE_X_ATOM_WM_SAVE_YOURSELF = 0; void -ecore_x_icccm_init(void) +_ecore_x_icccm_init(void) { ECORE_X_ATOM_WM_STATE = XInternAtom(_ecore_x_disp, "WM_STATE", False); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_netwm.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- ecore_x_netwm.c 10 Jun 2005 04:18:24 -0000 1.36 +++ ecore_x_netwm.c 7 Sep 2005 09:31:36 -0000 1.37 @@ -169,7 +169,7 @@ Ecore_X_Atom ECORE_X_ATOM_NET_WM_SYNC_REQUEST_COUNTER = 0; void -ecore_x_netwm_init(void) +_ecore_x_netwm_init(void) { ECORE_X_ATOM_NET_SUPPORTED = _ATOM_GET("_NET_SUPPORTED"); ECORE_X_ATOM_NET_SUPPORTING_WM_CHECK = _ATOM_GET("_NET_SUPPORTING_WM_CHECK"); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_private.h,v retrieving revision 1.48 retrieving revision 1.49 diff -u -3 -r1.48 -r1.49 --- ecore_x_private.h 5 Sep 2005 10:17:08 -0000 1.48 +++ ecore_x_private.h 7 Sep 2005 09:31:36 -0000 1.49 @@ -210,8 +210,15 @@ void _ecore_x_dnd_shutdown(void); /* from netwm */ +void _ecore_x_netwm_init(void); Ecore_X_Window_State _ecore_x_netwm_state_get(Ecore_X_Atom a); +/* from icccm */ +void _ecore_x_icccm_init(void); + +/* from e */ +void _ecore_x_e_init(void); + /* from sync */ #endif ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs