summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-07 01:29:02 -0500
committerDana Jansens <danakj@orodu.net>2008-02-07 02:14:44 -0500
commitb3c5fab3fa64e53c6c1413f848043eb1e2027f0c (patch)
tree69ad5955250332de84b1ff2d581d171da2e353bf
parent7ecfa01df81fcce628fbb354cc0c4faaddfb5c84 (diff)
don't kill our own ObPrompt windows with kill actions
-rw-r--r--openbox/client.c3
1 files changed, 3 insertions, 0 deletions
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) {