make sure the ConfigureNotify is propogated even when there is no change
This commit is contained in:
parent
c9ba604668
commit
c2684d312b
1 changed files with 45 additions and 47 deletions
|
@ -1319,10 +1319,7 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h,
|
|||
}
|
||||
}
|
||||
|
||||
if (x == self->area.x && y == self->area.y && w == self->area.width &&
|
||||
h == self->area.height)
|
||||
return; /* no change */
|
||||
|
||||
if (!(w == self->area.width && h == self->area.height)) {
|
||||
w -= self->base_size.width;
|
||||
h -= self->base_size.height;
|
||||
|
||||
|
@ -1376,6 +1373,7 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h,
|
|||
|
||||
w += self->base_size.width;
|
||||
h += self->base_size.height;
|
||||
}
|
||||
|
||||
switch (anchor) {
|
||||
case Corner_TopLeft:
|
||||
|
|
Loading…
Reference in a new issue