From ef885b37d1a2980cc4dfb40d67b6fcd3996845b4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 29 May 2007 00:04:43 +0000 Subject: [PATCH] merge r7031 from trunk --- openbox/client.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/openbox/client.c b/openbox/client.c index a2f69d18..0701d3fa 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -429,12 +429,8 @@ void client_manage(Window window) /* fit the window inside the area */ if (placew > a.width || self->area.height > a.height) { - placew = MAX(MIN(MIN(self->area.width, a.width), - self->max_size.width), - self->min_size.width); - placeh = MAX(MIN(MIN(self->area.height, a.height), - self->max_size.height), - self->min_size.height); + placew = MIN(self->area.width, a.width); + placeh = MIN(self->area.height, a.height); ob_debug("setting window size to %dx%d\n", self->area.width, self->area.height); -- 2.34.1