round 2 for this shit
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
openbox/client.c
→
openbox/client.c
@@ -1932,7 +1932,7 @@ (resized && config_redraw_resize))));
/* if the client is enlarging, the resize the client before the frame */ if (send_resize_client && (w > oldw || h > oldh)) - XResizeWindow(ob_display, self->window, w, h); + XResizeWindow(ob_display, self->window, MAX(w, oldw), MAX(h, oldh)); /* move/resize the frame to match the request */ if (self->frame) {@@ -1966,7 +1966,7 @@ }
} /* if the client is shrinking, then resize the frame before the client */ - if (send_resize_client && (w <= oldw && h <= oldh)) + if (send_resize_client && (w <= oldw || h <= oldh)) XResizeWindow(ob_display, self->window, w, h); XFlush(ob_display);