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:
ee778a8
)
make the Unfocus action do something when config_focus_follow is set
author
Mikael Magnusson
<mikachu@comhem.se>
Wed, 2 Aug 2006 04:45:52 +0000
(
04:45
+0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Wed, 2 Aug 2006 04:45:52 +0000
(
04:45
+0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index 4f598ec5e5061478c53ee0e8c064cb85b75234f4..07df3a5624b8436c63d9bd5563053b37c4ac045b 100644
(file)
--- a/
openbox/focus.c
+++ b/
openbox/focus.c
@@
-290,7
+290,9
@@
ObClient* focus_fallback_target(ObFocusFallbackType type)
}
}
- if (config_focus_follow && !config_focus_last) {
+ if (config_focus_follow &&
+ (type == OB_FOCUS_FALLBACK_UNFOCUSING || !config_focus_last))
+ {
if ((target = client_under_pointer()))
if (client_normal(target) && client_can_focus(target))
return target;