fix for bug introduced in revision 5643. logical size is supposed to be updated only when the window is resized.
This commit is contained in:
parent
f658ec961e
commit
73dac2b9b9
1 changed files with 3 additions and 2 deletions
|
@ -2389,8 +2389,9 @@ void client_configure_full(ObClient *self, ObCorner anchor,
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue