From: Dana Jansens Date: Thu, 7 Feb 2008 06:29:02 +0000 (-0500) Subject: don't kill our own ObPrompt windows with kill actions X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b3c5fab3fa64e53c6c1413f848043eb1e2027f0c;p=chaz%2Fopenbox don't kill our own ObPrompt windows with kill actions --- diff --git a/openbox/client.c b/openbox/client.c index c9da5e6d..1e994e39 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3333,6 +3333,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) {