X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fresist.c;h=ab71d132f68efc7470d9fe49fca72888ef2b229e;hb=47d63718c664f2ef58f5dfde42ebfc5cc57e123c;hp=56bd214dbe8e51281812f63d1852b7da5f9e729b;hpb=811fa21940629236eb15345b4034bcc278bf7ba9;p=chaz%2Fopenbox diff --git a/openbox/resist.c b/openbox/resist.c index 56bd214d..ab71d132 100644 --- a/openbox/resist.c +++ b/openbox/resist.c @@ -57,9 +57,6 @@ void resist_move_windows(ObClient *c, gint resist, gint *x, gint *y) if (!WINDOW_IS_CLIENT(it->data)) continue; - /* only snap in the same layer */ - if (window_layer(it->data) != c->layer) - continue; target = it->data; /* don't snap to self or non-visibles */ @@ -206,9 +203,6 @@ void resist_size_windows(ObClient *c, gint resist, gint *w, gint *h, for (it = stacking_list; it; it = g_list_next(it)) { if (!WINDOW_IS_CLIENT(it->data)) continue; - /* only snap in the same layer */ - if (window_layer(it->data) != c->layer) - continue; target = it->data; /* don't snap to invisibles or ourself */