X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fping.c;h=daabbfb54be29e69f4623f75bdb433f334b2805a;hb=7bd8e97fbb751f2a4b9b4feea140a703540bc4e3;hp=874d020ceffe843d56fc40dea8d8cc83bcb1547c;hpb=810afd8597da355039e289218abed6c062585870;p=chaz%2Fopenbox diff --git a/openbox/ping.c b/openbox/ping.c index 874d020c..daabbfb5 100644 --- a/openbox/ping.c +++ b/openbox/ping.c @@ -87,7 +87,8 @@ void ping_got_pong(Time timestamp) for (it = ping_targets; it != NULL; it = g_slist_next(it)) { t = it->data; if (t->sent == timestamp) { - /*ob_debug("Got PONG with timestamp %lu\n", timestamp);*/ + /*ob_debug("PONG: '%s' (timestamp %lu)\n", t->client->title, + t->sent);*/ if (t->waiting > PING_TIMEOUT_WARN) { /* we had notified that they weren't responding, so now we need to notify that they are again */ @@ -106,7 +107,8 @@ void ping_got_pong(Time timestamp) static void ping_send(ObPingTarget *t) { t->sent = event_get_server_time(); - /*ob_debug("PINGing client 0x%x at %lu\n", t->client->window, t->sent);*/ + /*ob_debug("PING: '%s' (timestamp %lu)\n", t->client->title, t->sent);*/ + ob_debug("PINGing client %s at %lu\n", t->client->title, t->sent); PROP_MSG_TO(t->client->window, t->client->window, wm_protocols, prop_atoms.net_wm_ping, t->sent, t->client->window, 0, 0, NoEventMask);