X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fresistance.c;fp=plugins%2Fresistance.c;h=bafd362c0ec8c62a5cf77a204898d0ff6874b1de;hb=80dfe9cbe829d9abe5ba95eed2c067a71aa3f073;hp=cc628492cb80da867b2ae56d9cbe8d46ed4242da;hpb=9938de36938107546b2e5b0410cc97d7a01632e7;p=chaz%2Fopenbox 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 */