summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-05 16:53:48 +0000
committerDana Jansens <danakj@orodu.net>2007-05-05 16:53:48 +0000
commit378adaa94f0fac07dc65f0531e950c7ec8944cdf (patch)
tree577adde03533205ee3d56ec3ce4ce0821c45fbbd /openbox/action.c
parentac56fe1602af7f4a4ae5c10cfe83e3d9eaf02b4d (diff)
yay. way way cleaner code for iconify animations. let people show/hide the frame logically and it will do everything except during animations the frame will show what it needs to for visual display.
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/action.c b/openbox/action.c
index 2e348c7c..797552f6 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -1263,9 +1263,9 @@ void action_raiselower(union ActionData *data)
if (cit == c) break;
if (client_normal(cit) == client_normal(c) &&
- cit->layer == c->layer &&
- frame_visible(cit->frame) &&
- !client_search_transient(c, cit))
+ cit->layer == c->layer &&
+ cit->frame->visible &&
+ !client_search_transient(c, cit))
{
if (RECT_INTERSECTS_RECT(cit->frame->area, c->frame->area)) {
raise = TRUE;