From 7b4556b2111b03dcdca4a58e1bde94a66ba86806 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 7 Feb 2008 01:29:02 -0500 Subject: [PATCH] don't kill our own ObPrompt windows with kill actions --- openbox/client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbox/client.c b/openbox/client.c index 44e027f..ed2e5b5 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3425,6 +3425,9 @@ static void client_prompt_kill(ObClient *self) void client_kill(ObClient *self) { + /* don't kill our own windows */ + if (self->prompt) return; + if (!self->client_machine && self->pid) { /* running on the local host */ if (self->kill_level == 0) { -- 1.9.1