diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-07 01:29:02 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-14 14:24:37 -0500 |
| commit | 7b4556b2111b03dcdca4a58e1bde94a66ba86806 (patch) | |
| tree | 0f6c604c8f5fbc1698903e0500e6cf955c81ba2d /openbox | |
| parent | 972e1fc5a32e7d798fb3023012e73af20b5b03c7 (diff) | |
don't kill our own ObPrompt windows with kill actions
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c index 44e027f8..ed2e5b56 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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) { |
