summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-30 16:15:51 +0000
committerDana Jansens <danakj@orodu.net>2003-07-30 16:15:51 +0000
commit9e9e6278d5497b62ee29e60a1a6b79a1d89048e1 (patch)
treec62036d30a7e6ec41d0c05eee7e6fa0bec106e8b
parentf346738173cc353dd86c1f3b6806f41d99aade3b (diff)
attemp #3
-rw-r--r--openbox/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c
index bdb2c8fa..0c6a5a6e 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 == 1 ? w : w + basew,
- self->size_inc.height == 1 ? 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;