summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-07 01:29:02 -0500
committerDana Jansens <danakj@orodu.net>2008-02-14 14:24:37 -0500
commit7b4556b2111b03dcdca4a58e1bde94a66ba86806 (patch)
tree0f6c604c8f5fbc1698903e0500e6cf955c81ba2d /openbox/client.c
parent972e1fc5a32e7d798fb3023012e73af20b5b03c7 (diff)
don't kill our own ObPrompt windows with kill actions
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c3
1 files changed, 3 insertions, 0 deletions
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) {