all repos — openbox @ c852826e9ed48855e25e49306e6ac1d7f81e8d26

openbox fork - make it a bit more like ryudo

include the base size in the logical size
Dana Jansens danakj@orodu.net
commit

c852826e9ed48855e25e49306e6ac1d7f81e8d26

parent

db6bb0561df3c26fe880c8661968273d4799716a

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -1790,7 +1790,9 @@ if (basew + w < 1) w = 1 - basew;

if (baseh + h < 1) h = 1 - baseh; /* store the logical size */ - SIZE_SET(self->logical_size, w, h); + SIZE_SET(self->logical_size, + w + basew / self->size_inc.width, + h + baseh / self->size_inc.height); w *= self->size_inc.width; h *= self->size_inc.height;