projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c852826
)
attempt #2 at better logical size values
author
Dana Jansens
<danakj@orodu.net>
Wed, 30 Jul 2003 16:13:52 +0000
(16:13 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 30 Jul 2003 16:13:52 +0000
(16:13 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
4612bd8
..
af445e7
100644
(file)
--- 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;