]> Dogcows Code - chaz/openbox/commitdiff
its possible we did kill -TERM and it stayed alive and started responding again,...
authorDana Jansens <danakj@orodu.net>
Wed, 16 Jan 2008 03:15:45 +0000 (22:15 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 16 Jan 2008 03:15:45 +0000 (22:15 -0500)
openbox/client.c

index d768ecc1ff1e06c17f545e7df19affcba45a3ee9..5443b158a4843e0f34532266cd4a41c0aa2c30a1 100644 (file)
@@ -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);
+        }
     }
 }
 
This page took 0.0305 seconds and 4 git commands to generate.