From 1cb0150431562d729342c427129732b217526bab Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 11 Jul 2005 22:51:03 +0000 Subject: Bug #3754: Fix window misplacement in twm. (Christopher Mario Mae) --- src/resize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resize.c b/src/resize.c index bed9a49..2f114e1 100644 --- a/src/resize.c +++ b/src/resize.c @@ -595,8 +595,8 @@ AddEndResize(TwmWindow *tmp_win) #endif ConstrainSize (tmp_win, &dragWidth, &dragHeight); - AddingX = dragx; - AddingY = dragy; + AddingX = dragx - tmp_win->frame_bw; + AddingY = dragy - tmp_win->frame_bw; AddingW = dragWidth + (2 * tmp_win->frame_bw); AddingH = dragHeight + (2 * tmp_win->frame_bw); } -- cgit v1.2.3