From 241ee9c4d1cee9d532933f6e2380d7906673b9d7 Mon Sep 17 00:00:00 2001 From: Aleksei Gmitron Date: Mon, 17 Aug 2026 22:06:52 +0400 Subject: [PATCH] macos: allow OS windows to participate in Split View tiling --- glfw/cocoa_window.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 501003c2a..cc14e5772 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -2344,7 +2344,8 @@ createNativeWindow(_GLFWwindow *window, const _GLFWwndconfig *wndconfig, const _ } if (wndconfig->resizable) { - const NSWindowCollectionBehavior behavior = NSWindowCollectionBehaviorFullScreenPrimary | NSWindowCollectionBehaviorManaged; + const NSWindowCollectionBehavior behavior = + NSWindowCollectionBehaviorFullScreenPrimary | NSWindowCollectionBehaviorFullScreenAllowsTiling | NSWindowCollectionBehaviorManaged; [window->ns.object setCollectionBehavior:behavior]; }