summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/focus.c3
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;