diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-01-15 22:15:45 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-15 22:15:45 -0500 |
| commit | dbce9ee24320baa01e62d88485fb536c8d9a5e55 (patch) | |
| tree | 237c1f2be1dcb443d14bfa50ef3d1a164183b3b2 /openbox | |
| parent | e6d33facc8f02a068f62b4f60c2872589b620dab (diff) | |
its possible we did kill -TERM and it stayed alive and started responding again, so handle that case
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 7 |
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); + } } } |
