From ad8e8d4988b515ff690564588983eeedf3f238f4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 25 May 2007 15:41:14 +0000 Subject: less negatives means less confusing.. but yeah. get rid of omnipresent check in focus_fallback --- openbox/focus.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'openbox/focus.c') diff --git a/openbox/focus.c b/openbox/focus.c index 0f9f2f1b..fad53e92 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -110,17 +110,6 @@ static ObClient* focus_fallback_target(gboolean allow_refocus, ObClient *old) return c; } - ob_debug_type(OB_DEBUG_FOCUS, "trying omnipresentness\n"); - if (allow_refocus && old && - old->desktop == DESKTOP_ALL && - client_normal(old) && - client_focus(old)) - { - ob_debug_type(OB_DEBUG_FOCUS, "found in omnipresentness\n"); - return old; - } - - ob_debug_type(OB_DEBUG_FOCUS, "trying the focus order\n"); for (it = focus_order; it; it = g_list_next(it)) { c = it->data; -- cgit v1.2.3