X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fresist.c;h=e5d49faa4ccaad19b119dc441a43b385e499f073;hb=378adaa94f0fac07dc65f0531e950c7ec8944cdf;hp=42c03675c7ca722f995c99b840eb79662e9db75b;hpb=c02f68499f8cb001f48cbc6d4af43a6fe9cf681d;p=chaz%2Fopenbox diff --git a/openbox/resist.c b/openbox/resist.c index 42c03675..e5d49faa 100644 --- a/openbox/resist.c +++ b/openbox/resist.c @@ -1,7 +1,8 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- resist.c for the Openbox window manager - Copyright (c) 2003 Ben Jansens + Copyright (c) 2006 Mikael Magnusson + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -198,7 +199,7 @@ void resist_size_windows(ObClient *c, gint *w, gint *h, ObCorner corn) target = it->data; /* don't snap to invisibles or ourself */ - if (!target->frame->visible || target == c) continue; + if (!target->frame->visible || target == c) continue; /* don't snap to windows in layers beneath */ if(target->layer < c->layer && !config_resist_layers_below)