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;