From 299687110d478a4928932f72031c345b27a01840 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 16 Jan 2008 18:44:22 -0500 Subject: use hash tables in ping.[ch] instead of a list. we're pinging every window, not just windows youre trying to close, so don't use datastructures that suck with lots of windows.. --- openbox/ping.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/ping.h') diff --git a/openbox/ping.h b/openbox/ping.h index 9f5c157b..1333ea0f 100644 --- a/openbox/ping.h +++ b/openbox/ping.h @@ -33,6 +33,9 @@ struct _ObClient; */ typedef void (*ObPingEventHandler) (struct _ObClient *c, gboolean dead); +void ping_startup(gboolean reconfigure); +void ping_shutdown(gboolean reconfigure); + void ping_start(struct _ObClient *c, ObPingEventHandler h); void ping_stop(struct _ObClient *c); -- cgit v1.2.3