all repos — openbox @ 4eecbeb611680cf98df68905a0d22fcf68ca94a5

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

4eecbeb611680cf98df68905a0d22fcf68ca94a5

parent

74a746e55f8c7faea0d71e9744532bda462b23bd

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

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

@@ -3408,9 +3408,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]),