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=7b4556b2111b03dcdca4a58e1bde94a66ba86806;p=chaz%2Fopenbox don't kill our own ObPrompt windows with kill actions --- diff --git a/openbox/client.c b/openbox/client.c index 44e027f8..ed2e5b56 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) {