Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: e16-ecore_hints.c e16-ecore_hints.h Log Message: Add ecore_x_netwm_startup_id_get(). =================================================================== RCS file: /cvs/e/e16/e/src/e16-ecore_hints.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- e16-ecore_hints.c 8 Apr 2007 20:44:43 -0000 1.7 +++ e16-ecore_hints.c 8 Apr 2007 22:07:32 -0000 1.8 @@ -1282,4 +1282,23 @@ opacity, 1); } +#if 0 /* Not used */ +void +ecore_x_netwm_startup_id_set(Ecore_X_Window win, const char *id) +{ + _ecore_x_window_prop_string_utf8_set(win, ECORE_X_ATOM_NET_STARTUP_ID, id); +} +#endif + +int +ecore_x_netwm_startup_id_get(Ecore_X_Window win, char **id) +{ + char *s; + + s = _ecore_x_window_prop_string_utf8_get(win, ECORE_X_ATOM_NET_STARTUP_ID); + *id = s; + + return s != NULL; +} + #endif /* USE_ECORE_X */ =================================================================== RCS file: /cvs/e/e16/e/src/e16-ecore_hints.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- e16-ecore_hints.h 8 Apr 2007 20:49:32 -0000 1.4 +++ e16-ecore_hints.h 8 Apr 2007 22:07:32 -0000 1.5 @@ -312,6 +312,10 @@ int ecore_x_netwm_opacity_get(Ecore_X_Window win, unsigned int *opacity); +void ecore_x_netwm_startup_id_set(Ecore_X_Window win, + const char *id); +int ecore_x_netwm_startup_id_get(Ecore_X_Window win, char **id); + #endif void ecore_x_icccm_state_set_iconic(Ecore_X_Window win); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs