diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-05 16:53:48 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-05 16:53:48 +0000 |
| commit | 378adaa94f0fac07dc65f0531e950c7ec8944cdf (patch) | |
| tree | 577adde03533205ee3d56ec3ce4ce0821c45fbbd /openbox/resist.c | |
| parent | ac56fe1602af7f4a4ae5c10cfe83e3d9eaf02b4d (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/resist.c')
| -rw-r--r-- | openbox/resist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/resist.c b/openbox/resist.c index 0c7ec87e..e5d49faa 100644 --- a/openbox/resist.c +++ b/openbox/resist.c @@ -57,7 +57,7 @@ void resist_move_windows(ObClient *c, gint *x, gint *y) target = it->data; /* don't snap to self or non-visibles */ - if (!frame_visible(target->frame) || target == c) continue; + if (!target->frame->visible || target == c) continue; /* don't snap to windows in layers beneath */ if(target->layer < c->layer && !config_resist_layers_below) @@ -199,7 +199,7 @@ void resist_size_windows(ObClient *c, gint *w, gint *h, ObCorner corn) target = it->data; /* don't snap to invisibles or ourself */ - if (!frame_visible(target->frame) || target == c) continue; + if (!target->frame->visible || target == c) continue; /* don't snap to windows in layers beneath */ if(target->layer < c->layer && !config_resist_layers_below) |
