diff --git a/clients/window.c b/clients/window.c index a4856b1c..30f64109 100644 --- a/clients/window.c +++ b/clients/window.c @@ -4207,15 +4207,6 @@ window_schedule_resize(struct window *window, int width, int height) window->min_allocation.height = min_height; else window->min_allocation.height = height; - } else { - /* update min_allocation to allow having a smaller - * pending_allocation and still allow other surfaces type be - * resized correctly */ - if (width < window->min_allocation.width) - window->min_allocation.width = width; - - if (height < window->min_allocation.height) - window->min_allocation.height = height; } if (window->pending_allocation.width < window->min_allocation.width)