summaryrefslogtreecommitdiff
path: root/openbox/place.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/place.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/place.c')
-rw-r--r--openbox/place.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/place.c b/openbox/place.c
index eada385f..ac902d2d 100644
--- a/openbox/place.c
+++ b/openbox/place.c
@@ -251,8 +251,7 @@ typedef enum
} ObSmartType;
#define SMART_IGNORE(placer, c) \
- (placer == c || c->shaded || !client_normal(c) || \
- !frame_visible(c->frame) || \
+ (placer == c || c->shaded || !client_normal(c) || !c->frame->visible || \
(c->desktop != DESKTOP_ALL && \
c->desktop != (placer->desktop == DESKTOP_ALL ? \
screen_desktop : placer->desktop)))