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:
6ec5ccd
)
revert patch, doesnt work
author
Mikael Magnusson
<mikachu@comhem.se>
Sun, 22 Aug 2004 00:23:44 +0000
(
00:23
+0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Sun, 22 Aug 2004 00:23:44 +0000
(
00:23
+0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index
2c8e58f
..
b81e563
100644
(file)
--- a/
openbox/focus.c
+++ b/
openbox/focus.c
@@
-320,7
+320,7
@@
ObClient* focus_fallback_target(ObFocusFallbackType type)
void focus_fallback(ObFocusFallbackType type)
{
- ObClient *new
= focus_fallback_target(type)
;
+ ObClient *new;
/* unfocus any focused clients.. they can be focused by Pointer events
and such, and then when I try focus them, I won't get a FocusIn event
@@
-328,7
+328,7
@@
void focus_fallback(ObFocusFallbackType type)
*/
focus_set_client(NULL);
- if (
new
)
+ if (
(new = focus_fallback_target(type))
)
client_focus(new);
}