Merge branch 'macos-fullscreen-tiling' of https://github.com/agmitron/kitty

This commit is contained in:
Kovid Goyal 2026-08-18 07:39:05 +05:30
commit 80b4e90933
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -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];
}