From dbce9ee24320baa01e62d88485fb536c8d9a5e55 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 15 Jan 2008 22:15:45 -0500 Subject: [PATCH] its possible we did kill -TERM and it stayed alive and started responding again, so handle that case --- openbox/client.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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); + } } } -- 2.39.2