diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-28 02:15:31 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-28 02:15:31 +0000 |
| commit | 5ec53919bd42219f85748ed6fbf28c40d9b72186 (patch) | |
| tree | 0b6cf123296f0cf002df51e96037c50ceb958441 /openbox | |
| parent | 9182f1a60385dce7a40e2fd162129510a91aced8 (diff) | |
dont count non-normal windows as parents
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index 37d27ab5..3548b7c8 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2377,7 +2377,8 @@ ObClient *client_search_focus_tree_full(ObClient *self) gboolean client_has_parent(ObClient *self) { return (self->transient_for && - (self->transient_for != OB_TRAN_GROUP || + ((self->transient_for != OB_TRAN_GROUP && + client_normal(self->transient_for) || (self->group && self->group->members->next))); } |
