From d074b11bf9f40549eb9d138afe3c615b3091aff4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 May 2007 22:53:09 +0000 Subject: let windows that cant iconify still iconify with their parents, but not non-normal windows. let you focus windows that wouldnt normally by clicking on their decor (if they have any) --- openbox/client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbox/client.c') diff --git a/openbox/client.c b/openbox/client.c index d50388e7..0084588c 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2814,7 +2814,9 @@ static void client_iconify_recursive(ObClient *self, self->window); if (iconic) { - if (self->functions & OB_CLIENT_FUNC_ICONIFY) { + /* don't let non-normal windows iconify along with their parents + or whatever */ + if (client_normal(self)) { self->iconic = iconic; /* update the focus lists.. iconic windows go to the bottom of -- cgit v1.2.3