diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-11 21:26:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-07-11 21:26:38 +0000 |
| commit | 5dfd8387783b9685762a46d6062dac4b98432f48 (patch) | |
| tree | b39127656e15c5f7a504180dbf3f30a5eddc5cd2 /openbox | |
| parent | 632557004ca2034b415f6c4b4de1cd14a14d1d55 (diff) | |
fix if action's "focused"
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/actions/if.c | 4 |
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; } |
