better var naming

This commit is contained in:
Dana Jansens 2003-03-28 00:17:10 +00:00
parent b23c66afd1
commit 6778db7392

View file

@ -118,16 +118,16 @@ void focus_fallback(gboolean switching_desks)
{ {
ConfigValue focus_follow; ConfigValue focus_follow;
GList *it; GList *it;
gboolean fallback = TRUE; gboolean under = TRUE;
if (!switching_desks) { if (!switching_desks) {
if (!config_get("focusFollowsMouse", Config_Bool, &focus_follow)) if (!config_get("focusFollowsMouse", Config_Bool, &focus_follow))
g_assert_not_reached(); g_assert_not_reached();
if (focus_follow.bool) 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) for (it = focus_order[screen_desktop]; it != NULL; it = it->next)
if (it->data != focus_client && client_normal(it->data)) { if (it->data != focus_client && client_normal(it->data)) {
g_message("fallback trying %lx", ((Client*)it->data)->window); g_message("fallback trying %lx", ((Client*)it->data)->window);