in shrinking resize the frame before the client
This commit is contained in:
parent
5316bc6c3e
commit
268c87ed9e
1 changed files with 1 additions and 1 deletions
|
@ -2448,8 +2448,8 @@ void client_configure_full(ObClient *self, ObCorner anchor,
|
||||||
|
|
||||||
/* if the client is shrinking, then resize the frame before the client */
|
/* if the client is shrinking, then resize the frame before the client */
|
||||||
if (send_resize_client && (!user || (w <= oldw || h <= oldh))) {
|
if (send_resize_client && (!user || (w <= oldw || h <= oldh))) {
|
||||||
XResizeWindow(ob_display, self->window, w, h);
|
|
||||||
frame_adjust_client_area(self->frame);
|
frame_adjust_client_area(self->frame);
|
||||||
|
XResizeWindow(ob_display, self->window, w, h);
|
||||||
}
|
}
|
||||||
|
|
||||||
XFlush(ob_display);
|
XFlush(ob_display);
|
||||||
|
|
Loading…
Reference in a new issue