summaryrefslogtreecommitdiff
path: root/src/netwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/netwm.c')
-rw-r--r--src/netwm.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/netwm.c b/src/netwm.c
index 8445d4019..7e9d46a5a 100644
--- a/src/netwm.c
+++ b/src/netwm.c
@@ -44,6 +44,7 @@
#include "netwm.h"
#include "screen.h"
#include "stacking.h"
+#include "terminate.h"
#include "transients.h"
#include "workspaces.h"
@@ -1366,14 +1367,8 @@ ping_timeout_cb (gpointer data)
if (c)
{
c->ping_timeout_id = 0;
- g_warning ("Ping timeout on client \"%s\"", c->name);
- /* TODO:
- * Implement the dialog mechanism to notify the user
- */
- if (1) /* If you are brave, set 1 here :) */
- {
- clientTerminate (c);
- }
+ TRACE ("Ping timeout on client \"%s\"", c->name);
+ terminateShowDialog (c);
}
return (FALSE);
}