diff --git a/README.md b/README.md index 9ab9eae6..c53173d2 100644 --- a/README.md +++ b/README.md @@ -354,6 +354,7 @@ skills. - Jay Weisskopf - Frank Wille - yuriks + - Ryogo Yoshimura - Santi Zupancic - Jonas Ådahl - Lasse Öörni diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 17d2b206..2c94a8a2 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -1030,7 +1030,9 @@ static GLFWbool createNativeWindow(_GLFWwindow* window, else { [window->ns.object center]; - _glfw.ns.cascadePoint = [window->ns.object cascadeTopLeftFromPoint:_glfw.ns.cascadePoint]; + _glfw.ns.cascadePoint = + NSPointToCGPoint([window->ns.object cascadeTopLeftFromPoint: + NSPointFromCGPoint(_glfw.ns.cascadePoint)]); if (wndconfig->resizable) {