diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-13 20:38:19 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-13 20:38:19 +0000 |
| commit | 3adadb955e10b1043afd93c79b25ac9fcf4de7cc (patch) | |
| tree | 9879f7e74fd2562fdc5b5f0d997f2d6a38f7dabf /openbox/resist.c | |
| parent | 7fddf2abc2b76e511be8fc14e22c1f310efe00ef (diff) | |
resist all layers
Diffstat (limited to 'openbox/resist.c')
| -rw-r--r-- | openbox/resist.c | 6 |
1 files changed, 0 insertions, 6 deletions
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 */ |
