summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-15 22:15:45 -0500
committerDana Jansens <danakj@orodu.net>2008-01-15 22:15:45 -0500
commitdbce9ee24320baa01e62d88485fb536c8d9a5e55 (patch)
tree237c1f2be1dcb443d14bfa50ef3d1a164183b3b2
parente6d33facc8f02a068f62b4f60c2872589b620dab (diff)
its possible we did kill -TERM and it stayed alive and started responding again, so handle that case
-rw-r--r--openbox/client.c7
1 files changed, 6 insertions, 1 deletions
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);
+ }
}
}