]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
don't kill our own ObPrompt windows with kill actions
[chaz/openbox] / 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.020958 seconds and 4 git commands to generate.