summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-28 00:17:10 +0000
committerDana Jansens <danakj@orodu.net>2003-03-28 00:17:10 +0000
commit6778db73923a9f955bb7040a57e0cfba084fc050 (patch)
tree9deb1d1942cd80709f7e87e531b7724eb359df44 /openbox
parentb23c66afd15be9976a80f184df0d044919c56582 (diff)
better var naming
Diffstat (limited to 'openbox')
-rw-r--r--openbox/focus.c6
1 files changed, 3 insertions, 3 deletions
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);