]> Dogcows Code - chaz/openbox/blobdiff - openbox/resist.c
lots of fixes for the iconify animation. i think it should all work perfectly now ?
[chaz/openbox] / openbox / resist.c
index fc2934467b3c5ab509595979f4cbc595b65c1086..0c7ec87e23355d5f1917f77ecb8656ffd7ffdd81 100644 (file)
@@ -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 (!target->frame->visible || target == c) continue; 
+            if (!frame_visible(target->frame) || 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 (!target->frame->visible || target == c) continue;
+            if (!frame_visible(target->frame) || target == c) continue; 
 
             /* don't snap to windows in layers beneath */
             if(target->layer < c->layer && !config_resist_layers_below)
This page took 0.021163 seconds and 4 git commands to generate.