diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-30 16:14:24 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-30 16:14:24 +0000 |
| commit | f346738173cc353dd86c1f3b6806f41d99aade3b (patch) | |
| tree | ee7ba0931e210aeaca7c2f0f806bd395d1a1192f | |
| parent | 0a809d36dd770aae300a19d841fa7958cbe67628 (diff) | |
attempt #2 at better logical size values
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c index af445e74..bdb2c8fa 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1791,8 +1791,8 @@ void client_configure_full(ObClient *self, ObCorner anchor, /* store the logical size */ SIZE_SET(self->logical_size, - self->size_inc.width ? w : w + basew, - self->size_inc.height ? h : h + baseh); + self->size_inc.width == 1 ? w : w + basew, + self->size_inc.height == 1 ? h : h + baseh); w *= self->size_inc.width; h *= self->size_inc.height; |
