X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fping.c;h=19922b25af25554d3fb6d7fb09fdc3dc2a171a01;hb=ff78d28f8bcdbbdd42fe9501ee81185f67a4166a;hp=daabbfb54be29e69f4623f75bdb433f334b2805a;hpb=7bd8e97fbb751f2a4b9b4feea140a703540bc4e3;p=chaz%2Fopenbox diff --git a/openbox/ping.c b/openbox/ping.c index daabbfb5..19922b25 100644 --- a/openbox/ping.c +++ b/openbox/ping.c @@ -64,7 +64,7 @@ void ping_start(struct _ObClient *client, ObPingEventHandler h) ping_send(t); ping_targets = g_slist_prepend(ping_targets, t); ob_main_loop_timeout_add(ob_main_loop, PING_TIMEOUT, ping_timeout, - t, NULL, NULL); + t, g_direct_equal, NULL); if (!active) { active = TRUE; @@ -108,7 +108,6 @@ 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, NoEventMask);