From 378adaa94f0fac07dc65f0531e950c7ec8944cdf Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 5 May 2007 16:53:48 +0000 Subject: 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. --- openbox/action.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openbox/action.c') 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; -- cgit v1.2.3