all repos — openbox @ 73dac2b9b951e978011163f65281a12afd1e48ae

openbox fork - make it a bit more like ryudo

fix for bug introduced in revision 5643. logical size is supposed to be updated only when the window is resized.
Dana Jansens danakj@orodu.net
commit

73dac2b9b951e978011163f65281a12afd1e48ae

parent

f658ec961e198e756934f9191e78567ccbde183f

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

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

@@ -2389,8 +2389,9 @@ /* find the new x, y, width, and height (and logical size) */

client_try_configure(self, anchor, &x, &y, &w, &h, &logicalw, &logicalh, user); - /* set the logical size */ - SIZE_SET(self->logical_size, logicalw, logicalh); + /* set the logical size if things changed */ + if (!(w == self->area.width && h == self->area.height)) + SIZE_SET(self->logical_size, logicalw, logicalh); /* figure out if we moved or resized or what */ moved = x != self->area.x || y != self->area.y;