]> Dogcows Code - chaz/openbox/blobdiff - openbox/resist.c
yay. way way cleaner code for iconify animations. let people show/hide the frame...
[chaz/openbox] / openbox / resist.c
index 0c7ec87e23355d5f1917f77ecb8656ffd7ffdd81..e5d49faa4ccaad19b119dc441a43b385e499f073 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 (!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)
This page took 0.021311 seconds and 4 git commands to generate.