]> Dogcows Code - chaz/openbox/blobdiff - plugins/resistance.c
Clients Menus and Slits are all 'ObWindow's now.
[chaz/openbox] / plugins / resistance.c
index 4c2dad63906b72bd5f5f75f9fcee439ba0bd8a4e..cc628492cb80da867b2ae56d9cbe8d46ed4242da 100644 (file)
@@ -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; 
This page took 0.021541 seconds and 4 git commands to generate.