dont wait until its hung to kill -9 it .. as the user selected kill.

just give it a timeout from the sigint. :)



SVN revision: 58341
This commit is contained in:
Carsten Haitzler 2011-04-04 23:51:46 +00:00
parent 08b3049296
commit ac2b91963a
1 changed files with 4 additions and 3 deletions

View File

@ -8382,11 +8382,12 @@ _e_border_cb_kill_timer(void *data)
E_Border *bd;
bd = data;
if (bd->hung)
{
// dont wait until it's hung -
// if (bd->hung)
// {
if (bd->client.netwm.pid > 1)
kill(bd->client.netwm.pid, SIGKILL);
}
// }
bd->kill_timer = NULL;
return ECORE_CALLBACK_CANCEL;
}