don't kill our own ObPrompt windows with kill actions
authorDana Jansens <danakj@orodu.net>
Thu, 7 Feb 2008 06:29:02 +0000 (01:29 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 14 Feb 2008 19:24:37 +0000 (14:24 -0500)
openbox/client.c

index 44e027f..ed2e5b5 100644 (file)
@@ -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) {