summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-08 22:53:09 +0000
committerDana Jansens <danakj@orodu.net>2007-05-08 22:53:09 +0000
commitd074b11bf9f40549eb9d138afe3c615b3091aff4 (patch)
treebe5e8bccdcdba05703fe24697a81ad1b68c27999 /openbox/client.c
parentf0e5332b4ae5504f167d75e853c13e6f718ce70a (diff)
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)
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c4
1 files changed, 3 insertions, 1 deletions
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