diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-17 01:25:29 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-17 01:25:29 +0000 |
| commit | 8d3829d160a470d76952949c87f81727fb8b45ae (patch) | |
| tree | 79da6d3098942d41dc89176f3087311f32ebad09 | |
| parent | 3505a866fe0b494af4ff5d65a0295330fbde5bc3 (diff) | |
that was dumb, it was metacity's fault
| -rw-r--r-- | openbox/focus.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 04ef7cd4..e5d3942f 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -161,9 +161,7 @@ void focus_fallback(FallbackType type) for (it = focus_order[screen_desktop]; it != NULL; it = it->next) if (type != Fallback_Unfocusing || it->data != old) - if (client_normal(it->data) && - ((Client*)it->data)->frame->visible && - client_focus(it->data)) + if (client_normal(it->data) && client_focus(it->data)) return; /* nothing to focus */ @@ -209,7 +207,7 @@ Client *focus_cycle(gboolean forward, gboolean linear, gboolean done, } ft = client_focus_target(it->data); if (ft == it->data && focus_client != ft && client_normal(ft) && - ft->frame->visible && client_focus(ft)) { + client_focus(ft)) { noreorder++; /* avoid reordering the focus_order */ return ft; } |
