From: Mikael Magnusson Date: Thu, 26 Jul 2007 06:19:14 +0000 (+0200) Subject: Resist on skip_taskbar windows too X-Git-Tag: mikabox-3.4.7.2~55^2~2 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=20bf3ae3aa279b7fc3f8e8cd4ddd29ea53878549;p=mikachu%2Fopenbox.git Resist on skip_taskbar windows too --- diff --git a/openbox/resist.c b/openbox/resist.c index f954429b..4c02a146 100644 --- a/openbox/resist.c +++ b/openbox/resist.c @@ -118,9 +118,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)) @@ -306,9 +303,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))