summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-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) {