all repos — openbox @ a3babc4a995d31e44a626448e28d607be3c33197

openbox fork - make it a bit more like ryudo

tell what signal is going to be sent to the client when killing through the dialog
Dana Jansens danakj@orodu.net
commit

a3babc4a995d31e44a626448e28d607be3c33197

parent

aeb1ebd04d9f41803cd7e408c1f73004d098c85f

1 files changed, 7 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -3316,9 +3316,15 @@ { _("No"), OB_KILL_RESULT_NO },

{ _("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]),