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

index b8f24893e8ebd26d8b7d543e47770dd2817b6024..f059f04a0971a25a2f609d50ce4fc29d10f09c30 100644 (file)
@@ -61,8 +61,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;
 
         tl = RECT_LEFT(target->frame->area) - 1;
         tt = RECT_TOP(target->frame->area) - 1;
@@ -219,8 +217,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;
 
         tl = RECT_LEFT(target->frame->area);
         tr = RECT_RIGHT(target->frame->area);