]> Dogcows Code - chaz/openbox/commitdiff
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, 7 Feb 2008 07:14:44 +0000 (02:14 -0500)
openbox/client.c

index c9da5e6d8337830c9121550a0cae9908ec668ade..1e994e3967f2af03b438dc488000625f399500a1 100644 (file)
@@ -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) {
This page took 0.027078 seconds and 4 git commands to generate.