X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Factions%2Fif.c;h=25d899c1cf89958f2154bd6a141ac6fe3d5597e7;hb=9a0aab8d8d54baed38cdfeb9dcc248232ffa0736;hp=a5d5f0bbc8a147ab8499527212c1f256b7e460a6;hpb=e5aee030e5d6a0234820f849a4248ea797c2115f;p=chaz%2Fopenbox 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; }