all repos — openbox @ dbce9ee24320baa01e62d88485fb536c8d9a5e55

openbox fork - make it a bit more like ryudo

its possible we did kill -TERM and it stayed alive and started responding again, so handle that case
Dana Jansens danakj@orodu.net
commit

dbce9ee24320baa01e62d88485fb536c8d9a5e55

parent

e6d33facc8f02a068f62b4f60c2872589b620dab

1 files changed, 6 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -3213,8 +3213,13 @@ PROP_MSG_TO(self->window, self->window, wm_protocols,

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); + } } }