From 4eecbeb611680cf98df68905a0d22fcf68ca94a5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 7 Feb 2008 01:46:40 -0500 Subject: [PATCH] tell what signal is going to be sent to the client when killing through the dialog --- openbox/client.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openbox/client.c b/openbox/client.c index ed2e5b56..c8c6c93b 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3408,9 +3408,15 @@ static void client_prompt_kill(ObClient *self) { _("Yes"), OB_KILL_RESULT_YES } }; gchar *m; + const gchar *sig; + + if (self->kill_level == 0) + sig = "terminate"; + else + sig = "kill"; m = g_strdup_printf - (_("The window \"%s\" does not seem to be responding. Do you want to force it to exit?"), self->original_title); + (_("The window \"%s\" does not seem to be responding. Do you want to force it to exit by sending the %s signal?"), self->original_title, sig); self->kill_prompt = prompt_new(m, answers, sizeof(answers)/sizeof(answers[0]), -- 2.39.2