summaryrefslogtreecommitdiff
path: root/src/resize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/resize.c')
-rw-r--r--src/resize.c4
1 files 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);
}