diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-21 09:38:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-21 09:38:51 +0000 |
| commit | 00d8c8d379391d7a47f09c343e4d72dfa53cd29b (patch) | |
| tree | 5dbefa5600bf847bc48badb19fe1c31b713c5bb9 /plugins | |
| parent | 921a711daddffc649738f14b10f7eb703df946bc (diff) | |
syntax error!
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/resistance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/resistance.c b/plugins/resistance.c index c7f47c3e..36fe269e 100644 --- a/plugins/resistance.c +++ b/plugins/resistance.c @@ -38,8 +38,8 @@ static void resist(Client *c, int *x, int *y) int tl, tt, tr, tb; /* 1 past the target's edges on each side */ target = it->data; - if (target == c) continue; /* don't snap to self */ - if (!target->visible) continue; /* don't snap to non-visibles */ + /* don't snap to self or non-visibles */ + if (target == c || !target->frame->visible) continue; tl = target->frame->area.x - 1; tt = target->frame->area.y - 1; |
