From 503e5d776833c49bd6e5f7bd5ae882b2f42104ef Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 2 Nov 2016 08:23:26 -0400 Subject: [PATCH] More notes. --- darwin/winmoveresize.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/darwin/winmoveresize.m b/darwin/winmoveresize.m index 834cff74..c9492101 100644 --- a/darwin/winmoveresize.m +++ b/darwin/winmoveresize.m @@ -83,6 +83,8 @@ static void handleResizeBottom(NSRect *frame, NSPoint old, NSPoint new) struct onResizeDragParams { NSWindow *w; + // using the previous point causes weird issues like the mouse seeming to fall behind the window edge... so do this instead + // TODO will this make things like the menubar and dock easier too? NSRect initialFrame; NSPoint initialPoint; uiWindowResizeEdge edge;