projects
/
dana
/
openbox-history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6325570
)
fix if action's "focused"
author
Dana Jansens
<danakj@orodu.net>
Wed, 11 Jul 2007 21:26:38 +0000
(21:26 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 11 Jul 2007 21:26:38 +0000
(21:26 +0000)
openbox/actions/if.c
patch
|
blob
|
history
diff --git
a/openbox/actions/if.c
b/openbox/actions/if.c
index
a5d5f0b
..
25d899c
100644
(file)
--- 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;
}