summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 3376d50a..873ba035 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -183,7 +183,7 @@ void focus_fallback(ObFocusFallbackType type)
if (old->transient_for) {
gboolean trans = FALSE;
- if (config_focus_last || !config_focus_follow)
+ if (!config_focus_follow)
trans = TRUE;
else {
ObClient *c;
@@ -215,7 +215,7 @@ void focus_fallback(ObFocusFallbackType type)
}
}
- if (!config_focus_last && config_focus_follow)
+ if (config_focus_follow)
if (focus_under_pointer())
return;