From: Dana Jansens Date: Wed, 11 Jul 2007 21:26:38 +0000 (+0000) Subject: fix if action's "focused" X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5dfd8387783b9685762a46d6062dac4b98432f48;p=chaz%2Fopenbox fix if action's "focused" --- 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; }