X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=4df6662cccc4e95302712acfed3b46661b821c72;hb=07a52aeaff0d8f429d9a740f49a85f22d51cf597;hp=127a3399e740b62466e536baf03387a6d6776e94;hpb=b23c66afd15be9976a80f184df0d044919c56582;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index 127a3399..4df6662c 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -118,16 +118,16 @@ void focus_fallback(gboolean switching_desks) { ConfigValue focus_follow; GList *it; - gboolean fallback = TRUE; + gboolean under = TRUE; if (!switching_desks) { if (!config_get("focusFollowsMouse", Config_Bool, &focus_follow)) g_assert_not_reached(); if (focus_follow.bool) - fallback = !focus_under_pointer(); + under = focus_under_pointer(); } - if (fallback) { + if (!under) { for (it = focus_order[screen_desktop]; it != NULL; it = it->next) if (it->data != focus_client && client_normal(it->data)) { g_message("fallback trying %lx", ((Client*)it->data)->window);