diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-21 09:39:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-21 09:39:09 +0000 |
| commit | c95102751953d4c2800747b0ae12601ee6f414b6 (patch) | |
| tree | e81b15b74a9e115978bb8790073d0a4e0927cc43 /plugins | |
| parent | 00d8c8d379391d7a47f09c343e4d72dfa53cd29b (diff) | |
optimization!
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/resistance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/resistance.c b/plugins/resistance.c index 36fe269e..64dfe0e7 100644 --- a/plugins/resistance.c +++ b/plugins/resistance.c @@ -39,7 +39,7 @@ static void resist(Client *c, int *x, int *y) 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; |
