diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-30 16:09:56 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-30 16:09:56 +0000 |
| commit | c852826e9ed48855e25e49306e6ac1d7f81e8d26 (patch) | |
| tree | 289760b2a3c28066559c40e0829d5b0a88d3b83a /openbox/client.c | |
| parent | db6bb0561df3c26fe880c8661968273d4799716a (diff) | |
include the base size in the logical size
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
