watch out for stacking_list
This commit is contained in:
parent
9938de3693
commit
80dfe9cbe8
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue