From 5dfd8387783b9685762a46d6062dac4b98432f48 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 11 Jul 2007 21:26:38 +0000 Subject: [PATCH] fix if action's "focused" --- openbox/actions/if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/actions/if.c b/openbox/actions/if.c index a5d5f0b..25d899c 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; } -- 1.9.1