summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-30 16:13:52 +0000
committerDana Jansens <danakj@orodu.net>2003-07-30 16:13:52 +0000
commit0a809d36dd770aae300a19d841fa7958cbe67628 (patch)
tree9cbe0d6428eb1cf859c64fd579abd9b4738ceb25 /openbox/client.c
parentc852826e9ed48855e25e49306e6ac1d7f81e8d26 (diff)
attempt #2 at better logical size values
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 4612bd86..af445e74 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,
- w + basew / self->size_inc.width,
- h + baseh / self->size_inc.height);
+ self->size_inc.width ? w : w + basew,
+ self->size_inc.height ? h : h + baseh);
w *= self->size_inc.width;
h *= self->size_inc.height;