projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd5d441
)
only cycle focus to normal windows
author
Dana Jansens
<danakj@orodu.net>
Tue, 8 Apr 2003 04:48:39 +0000
(
04:48
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 8 Apr 2003 04:48:39 +0000
(
04:48
+0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index b0cd735debe608bd47d0cfe4b43ebd72d3627f21..d0886a50f7cccda5951dc91c3aba2f6472abefd6 100644
(file)
--- 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;