only cycle focus to normal windows
This commit is contained in:
parent
bd5d441696
commit
40bfb2b6e5
1 changed files with 2 additions and 1 deletions
|
@ -248,7 +248,8 @@ Client *focus_cycle(gboolean forward, gboolean linear, gboolean done,
|
||||||
if (it == NULL) it = g_list_last(list);
|
if (it == NULL) it = g_list_last(list);
|
||||||
}
|
}
|
||||||
ft = client_focus_target(it->data);
|
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)) {
|
if (client_focus(ft)) {
|
||||||
noreorder++; /* avoid reordering the focus_order */
|
noreorder++; /* avoid reordering the focus_order */
|
||||||
return ft;
|
return ft;
|
||||||
|
|
Loading…
Reference in a new issue