fix if action's "focused"

This commit is contained in:
Dana Jansens 2007-07-11 21:26:38 +00:00
parent 632557004c
commit 5dfd838778

View file

@ -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;
}