target = it->data;
/* don't snap to self or non-visibles */
- if (target == c || !target->frame->visible) continue;
+ if (!target->frame->visible || target == c) continue;
tl = target->frame->area.x - 1;
tt = target->frame->area.y - 1;
window edge available, without going all the way from
bottom-to-top in the stacking list
*/
- g_print("r %d tl %d\n", r, tl);
if (!snapx && cl >= tr && l < tr && l >= tr - resistance)
*x = tr, snapx = TRUE;
else if (!snapx && cr <= tl && r > tl && r <= tl + resistance)