diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-01-15 22:56:24 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-15 22:56:37 -0500 |
| commit | 7bd8e97fbb751f2a4b9b4feea140a703540bc4e3 (patch) | |
| tree | c14d4910332e3f5ca22fa81bc3c770ded0b6a9c7 | |
| parent | 053558dc5ffa7f561d06cfd43926e19b4d4da422 (diff) | |
rework and comment out some debugging prints
| -rw-r--r-- | openbox/ping.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/ping.c b/openbox/ping.c index 531b8938..daabbfb5 100644 --- a/openbox/ping.c +++ b/openbox/ping.c @@ -87,8 +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 for %s\n", timestamp, - t->client->title); + /*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 */ @@ -107,6 +107,7 @@ void ping_got_pong(Time timestamp) static void ping_send(ObPingTarget *t) { t->sent = event_get_server_time(); + /*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, |
