]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
make the ping hash tables work correctly. don't need to stop pinging, it will automa...
[chaz/openbox] / openbox / client.c
index 6a6ec2bded867f0516fbbae97bbbde527f31ad2a..63245a3c157e428e56a2113813e4a47d05ffa411 100644 (file)
@@ -609,7 +609,10 @@ void client_manage(Window window)
 
     /* watch for when the application stops responding.  only do this for
        normal windows, i.e. windows which have titlebars and close buttons 
-       and things like that */
+       and things like that.
+       we don't need to stop pinging on unmanage, because it will be handled
+       automatically by the destroy callback!
+    */
     if (self->ping && client_normal(self))
         ping_start(self, client_ping_event);
 
@@ -694,10 +697,6 @@ void client_unmanage(ObClient *self)
     /* remove the window from our save set */
     XChangeSaveSet(ob_display, self->window, SetModeDelete);
 
-    /* stop pinging the window */
-    if (self->ping && client_normal(self))
-        ping_stop(self);
-
     /* update the focus lists */
     focus_order_remove(self);
     if (client_focused(self)) {
This page took 0.023542 seconds and 4 git commands to generate.