]> Dogcows Code - chaz/openbox/blobdiff - plugins/resistance.c
watch out for stacking_list
[chaz/openbox] / plugins / resistance.c
index cc628492cb80da867b2ae56d9cbe8d46ed4242da..bafd362c0ec8c62a5cf77a204898d0ff6874b1de 100644 (file)
@@ -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 */
This page took 0.019957 seconds and 4 git commands to generate.