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