all repos — openbox @ 19e48200739dc95f9b0079a25849e7e06c99302c

openbox fork - make it a bit more like ryudo

properly send resize events for when the app has requested the resize
Dana Jansens danakj@orodu.net
commit

19e48200739dc95f9b0079a25849e7e06c99302c

parent

9e60c45cdaa5812741860f81f3543fcee631a9aa

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

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

@@ -1960,7 +1960,7 @@ (user && (final ||

(resized && config_redraw_resize)))); /* if the client is enlarging, the resize the client before the frame */ - if (!user || (send_resize_client && (w > oldw || h > oldh))) + if (send_resize_client && user && (w > oldw || h > oldh)) XResizeWindow(ob_display, self->window, MAX(w, oldw), MAX(h, oldh)); /* move/resize the frame to match the request */

@@ -1995,7 +1995,7 @@ }

} /* if the client is shrinking, then resize the frame before the client */ - if (user && (send_resize_client && (w <= oldw || h <= oldh))) + if (send_resize_client && (!user || (w <= oldw || h <= oldh))) XResizeWindow(ob_display, self->window, w, h); XFlush(ob_display);