summaryrefslogtreecommitdiff
path: root/openbox/actions/if.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-11 21:26:38 +0000
committerDana Jansens <danakj@orodu.net>2007-07-11 21:26:38 +0000
commit5dfd8387783b9685762a46d6062dac4b98432f48 (patch)
treeb39127656e15c5f7a504180dbf3f30a5eddc5cd2 /openbox/actions/if.c
parent632557004ca2034b415f6c4b4de1cd14a14d1d55 (diff)
fix if action's "focused"
Diffstat (limited to 'openbox/actions/if.c')
-rw-r--r--openbox/actions/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/actions/if.c b/openbox/actions/if.c
index a5d5f0bb..25d899c1 100644
--- a/openbox/actions/if.c
+++ b/openbox/actions/if.c
@@ -128,8 +128,8 @@ static gboolean run_func(ObActionsData *data, gpointer options)
(!o->maxvert_off || (c && !c->max_vert)) &&
(!o->maxfull_on || (c && c->max_vert && c->max_horz)) &&
(!o->maxfull_off || (c && !(c->max_vert && c->max_horz))) &&
- (!o->focused || (c && !(c == focus_client))) &&
- (!o->unfocused || (c && !(c != focus_client))))
+ (!o->focused || (c && (c == focus_client))) &&
+ (!o->unfocused || (c && !(c == focus_client))))
{
acts = o->thenacts;
}