summaryrefslogtreecommitdiff
path: root/openbox/ping.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-15 21:57:47 -0500
committerDana Jansens <danakj@orodu.net>2008-01-15 21:57:47 -0500
commitd3e9fc8941831477b50678b9bd676e29f4bed1a7 (patch)
treeccd97ea7ea28b74ef0dd46964d758509a19b4d42 /openbox/ping.c
parentfb7a71da202632c7301ada67c8b4420bfb8d8fbe (diff)
show [Not Responding] in the titlebar when closing an app and it stops responding to pings
Diffstat (limited to 'openbox/ping.c')
-rw-r--r--openbox/ping.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/ping.c b/openbox/ping.c
index d8c10c83..687dd7f4 100644
--- a/openbox/ping.c
+++ b/openbox/ping.c
@@ -48,6 +48,8 @@ void ping_start(struct _ObClient *client, ObPingEventHandler h)
GSList *it;
ObPingTarget *t;
+ g_assert(client->ping == TRUE);
+
/* make sure we're not already pinging it */
for (it = ping_targets; it != NULL; it = g_slist_next(it)) {
t = it->data;