From 7a5e6a38c382a87784d89f3ed901907956e98876 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 26 Jul 2007 08:19:14 +0200 Subject: [PATCH] Resist on skip_taskbar windows too --- openbox/resist.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openbox/resist.c b/openbox/resist.c index b8f24893..f059f04a 100644 --- a/openbox/resist.c +++ b/openbox/resist.c @@ -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); -- 2.34.1