aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2008-07-15 13:52:02 +0000
committerokan2008-07-15 13:52:02 +0000
commit1f287f14b64e942fe30d938a9f18ad035528c765 (patch)
tree99337e7aebdbab81c6d9c5959d7ac7b2ab5ccfbf
parentac996830b89c7ab3098ddffb0bd5d37a3206c5d3 (diff)
downloadcwm-1f287f14b64e942fe30d938a9f18ad035528c765.tar.gz
don't compensate for bwidth twice.
ok oga@
Diffstat (limited to '')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index f298439..e0a8a20 100644
--- a/client.c
+++ b/client.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: client.c,v 1.35 2008/07/11 14:23:30 okan Exp $
+ * $Id: client.c,v 1.36 2008/07/15 13:52:02 okan Exp $
*/
#include "headers.h"
@@ -682,7 +682,7 @@ client_placecalc(struct client_ctx *cc)
cc->geom.x -= Conf.gap_right;
} else {
cc->geom.x = cc->bwidth + Conf.gap_left;
- cc->geom.width = sc->xmax - cc->bwidth - Conf.gap_left;
+ cc->geom.width = sc->xmax - Conf.gap_left;
}
if (yslack >= 0) {
cc->geom.y = MAX(MIN(ymouse, yslack),
@@ -691,7 +691,7 @@ client_placecalc(struct client_ctx *cc)
cc->geom.y -= Conf.gap_bottom;
} else {
cc->geom.y = cc->bwidth + Conf.gap_top;
- cc->geom.height = sc->ymax - cc->bwidth - Conf.gap_top;
+ cc->geom.height = sc->ymax - Conf.gap_top;
}
}
}