diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-11 23:59:16 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-11 23:59:16 +0000 |
| commit | 80dfe9cbe829d9abe5ba95eed2c067a71aa3f073 (patch) | |
| tree | 8ef334ad91df64e8da7051d907a74f852c8c89b9 /plugins/resistance.c | |
| parent | 9938de36938107546b2e5b0410cc97d7a01632e7 (diff) | |
watch out for stacking_list
Diffstat (limited to 'plugins/resistance.c')
| -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 cc628492..bafd362c 100644 --- a/plugins/resistance.c +++ b/plugins/resistance.c @@ -162,6 +162,8 @@ static void resist_size(Client *c, int *w, int *h, Corner corn) /* snap to other windows */ if (resist_windows) { for (it = stacking_list; it != NULL; it = it->next) { + if (!WINDOW_IS_CLIENT(it->data)) + continue; target = it->data; /* don't snap to invisibles or ourself */ |
