diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-11 04:10:45 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-11 04:10:45 +0000 |
| commit | ba6754ac88b48c652639aec56498cb23b422bafa (patch) | |
| tree | 09d37769d9f85529a8018ca03923e50f1837dde0 | |
| parent | c0ddd76ac57f088cbb3647165b12b54982554577 (diff) | |
fix focus cycling. checking the wrong client.
| -rw-r--r-- | openbox/focus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 80cd0b08..a4d3f9f2 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -539,8 +539,8 @@ static gboolean has_valid_group_siblings_on_desktop(ObClient *ft, for (it = ft->group->members; it; it = g_slist_next(it)) { ObClient *c = it->data; /* check that it's not a helper window to avoid infinite recursion */ - if (c != ft && !client_helper(ft) && - valid_focus_target(ft, all_desktops, FALSE)) + if (c != ft && !client_helper(c) && + valid_focus_target(c, all_desktops, FALSE)) { return TRUE; } |
