diff --git a/shell_client.cpp b/shell_client.cpp index f5fab5338d..58ba2165fb 100644 --- a/shell_client.cpp +++ b/shell_client.cpp @@ -1477,7 +1477,7 @@ void ShellClient::killWindow() return; } auto c = surface()->client(); - if (c->processId() == getpid()) { + if (c->processId() == getpid() || c->processId() == 0) { c->destroy(); return; }