Enlightenment CVS committal Author : handyande Project : misc Module : engage
Dir : misc/engage/src/module Modified Files: e_mod_main.c Log Message: Module works with new ecore_x, no time to fix standalone right now =================================================================== RCS file: /cvsroot/enlightenment/misc/engage/src/module/e_mod_main.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -3 -r1.48 -r1.49 --- e_mod_main.c 9 Jun 2005 13:14:53 -0000 1.48 +++ e_mod_main.c 10 Jun 2005 09:24:36 -0000 1.49 @@ -2293,10 +2293,13 @@ /* FIXME - this needs to be saved in config */ static char *ignores[] = { "Gkrellm2", "trayer", NULL}; char **cur; + Ecore_X_Window_State *state, *tmp; + unsigned int num; - if (ecore_x_window_prop_state_isset(bd->win, - ECORE_X_WINDOW_STATE_SKIP_TASKBAR)) - return 1; + ecore_x_netwm_window_state_get(bd->win, &state, &num); + for (tmp = state; tmp; tmp++) + if (tmp == ECORE_X_WINDOW_STATE_SKIP_TASKBAR) + return 1; for (cur = ignores; *cur; cur++) if (bd->client.icccm.class && strcmp(bd->client.icccm.class, *cur) == 0) ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs