diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/resistance.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/resistance.c b/plugins/resistance.c index 4c2dad63..cc628492 100644 --- a/plugins/resistance.c +++ b/plugins/resistance.c @@ -65,6 +65,8 @@ static void resist_move(Client *c, int *x, int *y) Client *target; int tl, tt, tr, tb; /* 1 past the target's edges on each side */ + if (!WINDOW_IS_CLIENT(it->data)) + continue; target = it->data; /* don't snap to self or non-visibles */ if (!target->frame->visible || target == c) continue; |
