From 40bfb2b6e5249608f6f7d0c8012ca44f67883843 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 Apr 2003 04:48:39 +0000 Subject: [PATCH] only cycle focus to normal windows --- openbox/focus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.45.2