Resist on skip_taskbar windows too mikabox-3.4.4
authorMikael Magnusson <mikachu@comhem.se>
Thu, 26 Jul 2007 06:19:14 +0000 (08:19 +0200)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 5 Aug 2007 11:17:11 +0000 (13:17 +0200)
openbox/resist.c

index 62c2b293f0b9fe1879df403e0c5db067c24c15ca..617629bf640a15fdb2e3cd6a4ee26b8c17872cea 100644 (file)
@@ -119,9 +119,6 @@ void resist_move_windows(ObClient *c, gint resist, gint *x, gint *y)
         /* don't snap to self or non-visibles */
         if (!target->frame->visible || target == c)
             continue;
-        /* don't snap to windows set to below and skip_taskbar (desklets) */
-        if (target->below && !c->below && target->skip_taskbar)
-            continue;
 
         if (resist_move_window(c->frame->area, target->frame->area,
                                resist, x, y))
@@ -307,9 +304,6 @@ void resist_size_windows(ObClient *c, gint resist, gint *w, gint *h,
         /* don't snap to invisibles or ourself */
         if (!target->frame->visible || target == c)
             continue;
-        /* don't snap to windows set to below and skip_taskbar (desklets) */
-        if (target->below && !c->below && target->skip_taskbar)
-            continue;
 
         if (resist_size_window(c->frame->area, target->frame->area,
                                resist, w, h, dir))