From: Dana Jansens Date: Wed, 16 Jan 2008 03:15:45 +0000 (-0500) Subject: its possible we did kill -TERM and it stayed alive and started responding again,... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=dbce9ee24320baa01e62d88485fb536c8d9a5e55;p=chaz%2Fopenbox its possible we did kill -TERM and it stayed alive and started responding again, so handle that case --- diff --git a/openbox/client.c b/openbox/client.c index d768ecc1..5443b158 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3213,8 +3213,13 @@ void client_close(ObClient *self) prop_atoms.wm_delete_window, event_curtime, 0, 0, 0, NoEventMask); - if (self->ping) + if (self->ping) { + /* may have tried to kill it earlier but the window is still + around and started responding again */ + self->kill_tried_term = FALSE; + ping_start(self, client_ping_event); + } } }