From: Dana Jansens Date: Tue, 8 Apr 2003 04:48:39 +0000 (+0000) Subject: only cycle focus to normal windows X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=40bfb2b6e5249608f6f7d0c8012ca44f67883843;p=chaz%2Fopenbox only cycle focus to normal windows --- 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;