From: Dana Jansens Date: Wed, 30 Jul 2003 16:09:56 +0000 (+0000) Subject: include the base size in the logical size X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=c852826e9ed48855e25e49306e6ac1d7f81e8d26;p=chaz%2Fopenbox include the base size in the logical size --- diff --git a/openbox/client.c b/openbox/client.c index 99757916..4612bd86 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1790,7 +1790,9 @@ void client_configure_full(ObClient *self, ObCorner anchor, if (baseh + h < 1) h = 1 - baseh; /* store the logical size */ - SIZE_SET(self->logical_size, w, h); + SIZE_SET(self->logical_size, + w + basew / self->size_inc.width, + h + baseh / self->size_inc.height); w *= self->size_inc.width; h *= self->size_inc.height;