From 92a6b897a047054d8fabc8fdee9233a555accb11 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 15 Sep 2003 07:47:05 +0000 Subject: remove focusLast and focusLastOnDesktop --- openbox/focus.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'openbox/focus.c') diff --git a/openbox/focus.c b/openbox/focus.c index 0d9ecf54..a7904910 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -162,11 +162,8 @@ void focus_fallback(ObFocusFallbackType type) */ focus_set_client(NULL); - if (!(type == OB_FOCUS_FALLBACK_DESKTOP ? - config_focus_last_on_desktop : config_focus_last)) { - if (config_focus_follow) focus_under_pointer(); + if (config_focus_follow && focus_under_pointer()) return; - } if (type == OB_FOCUS_FALLBACK_UNFOCUSING && old) { /* try for transient relations */ -- cgit v1.2.3