Enlightenment CVS committal Author : onefang Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_apps.c Log Message: This should fix the wrong icon in border bug. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v retrieving revision 1.192 retrieving revision 1.193 diff -u -3 -r1.192 -r1.193 --- e_apps.c 18 Sep 2006 20:52:59 -0000 1.192 +++ e_apps.c 19 Sep 2006 00:02:40 -0000 1.193 @@ -899,6 +899,7 @@ { _e_apps_list = evas_list_remove_list(_e_apps_list, l); _e_apps_list = evas_list_prepend(_e_apps_list, a); +printf("e_app_launch_id_pid_find() - FOUND - %s\n", a->path); return a; } } @@ -927,7 +928,7 @@ E_OBJECT_CHECK_RETURN(a, NULL); E_OBJECT_TYPE_CHECK_RETURN(a, E_APP_TYPE, NULL); ok = 0; - if ((a->win_name) || (a->win_class) || (a->win_title) || (a->win_role)) + if ((a->win_name) || (a->win_class) || (a->win_title) || (a->win_role) || (a->exe)) { if ((a->win_name) && (a->win_class) && (bd->client.icccm.name) && (bd->client.icccm.class)) @@ -949,7 +950,7 @@ ((a->win_role) && (bd->client.icccm.window_role) && (e_util_glob_match(bd->client.icccm.window_role, a->win_role)))) ok++; if ( - (a->exe) && (bd->client.icccm.command.argv)) + (a->exe) && (bd->client.icccm.command.argv) && (bd->client.icccm.command.argv)) { char *ts, *p; @@ -965,7 +966,7 @@ } p++; } - if (!strcmp(a->exe, ts)) + if (!strcmp(ts, bd->client.icccm.command.argv[0])) ok++; } } ------------------------------------------------------------------------- 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