From 9737a39966ba9fad1f7d7819b0593b2f8bd99a1b Mon Sep 17 00:00:00 2001 From: sabetts Date: Mon, 27 Aug 2001 19:17:55 +0000 Subject: maximize bug --- src/manage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/manage.c') diff --git a/src/manage.c b/src/manage.c index 311cf5c..e60c422 100644 --- a/src/manage.c +++ b/src/manage.c @@ -421,9 +421,9 @@ maximize_normal (rp_window *win) #ifdef MAXSIZE_WINDOWS_ARE_TRANSIENTS if (win->hints->flags & PMaxSize && frame) { - off_x = frame->x - win->width / 2 + off_x = frame->x - maxx / 2 + (frame->width - win->border * 2) / 2; - off_y = frame->y - win->height / 2 + off_y = frame->y - maxy / 2 + (frame->height - win->border * 2) / 2; } #endif -- cgit v1.2.3