]> 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, 14 Feb 2008 19:24:37 +0000 (14:24 -0500)
openbox/client.c

index 44e027f899a1ab9b4eaf2297feb3c955e8fe9ebc..ed2e5b561e1c75a214de30b36817a967ee445bb6 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) {
This page took 0.027496 seconds and 4 git commands to generate.