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:
e0fa57d
)
dont try change focus while looping thru the focus list
author
Dana Jansens
<danakj@orodu.net>
Wed, 4 Jun 2003 17:17:55 +0000
(17:17 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 4 Jun 2003 17:17:55 +0000
(17:17 +0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index 5909ca773449ece98bee8e3043e222739740ef42..68b208cedde1d52f03bdaff8f3e531a4f9b1b241 100644
(file)
--- a/
openbox/focus.c
+++ b/
openbox/focus.c
@@
-229,8
+229,11
@@
void focus_fallback(FallbackType type)
checks for this is in transient/group fallbacks, so they can
be fallback targets there. */
!((Client*)it->data)->fullscreen &&
- client_focus(it->data))
+ client_can_focus(it->data)) {
+ gboolean r = client_focus(sit->data);
+ assert(r);
return;
+ }
/* nothing to focus */
focus_set_client(NULL);