diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-08 04:48:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-08 04:48:39 +0000 |
| commit | 40bfb2b6e5249608f6f7d0c8012ca44f67883843 (patch) | |
| tree | 4944e013a78e8d6f1a4824a2027ad8ad93fcff15 /openbox | |
| parent | bd5d44169661ba0345e216eea35f157bf3f02530 (diff) | |
only cycle focus to normal windows
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/focus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index b0cd735d..d0886a50 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -248,7 +248,8 @@ Client *focus_cycle(gboolean forward, gboolean linear, gboolean done, if (it == NULL) it = g_list_last(list); } ft = client_focus_target(it->data); - if (ft == it->data && focus_client != ft && client_focusable(ft)) { + if (ft == it->data && focus_client != ft && client_normal(ft) && + client_focusable(ft)) { if (client_focus(ft)) { noreorder++; /* avoid reordering the focus_order */ return ft; |
