mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Introduced window positioning hints and window position properties
This commit is contained in:
+1
-1
@@ -686,7 +686,7 @@ static GLboolean createWindow(_GLFWwindow* window,
|
||||
styleMask = NSBorderlessWindowMask;
|
||||
|
||||
window->NS.object = [[NSWindow alloc]
|
||||
initWithContentRect:NSMakeRect(0, 0, window->width, window->height)
|
||||
initWithContentRect:NSMakeRect(wndconfig->positionX, wndconfig->positionY, window->width, window->height)
|
||||
styleMask:styleMask
|
||||
backing:NSBackingStoreBuffered
|
||||
defer:NO];
|
||||
|
||||
Reference in New Issue
Block a user