Skip to content

[222_56] Fix missing macOS tiling menu options on zoom button#2983

Merged
Yuki-Nagori merged 1 commit intoMoganLab:mainfrom
Prthmsh7:222_56
Mar 18, 2026
Merged

[222_56] Fix missing macOS tiling menu options on zoom button#2983
Yuki-Nagori merged 1 commit intoMoganLab:mainfrom
Prthmsh7:222_56

Conversation

@Prthmsh7
Copy link
Copy Markdown
Contributor

Fixes #2771

What

Restores the native macOS tiling hover menu (including "Move & Resize", "Fill & Arrange", and "Enter Full Screen") when hovering over the window's green zoom button.

Before:
Screenshot 2026-03-16 at 4 28 10 AM

After:
Screenshot 2026-03-16 at 4 27 31 AM

How

Updated 3rdparty/qwindowkitty/src/core/contexts/cocoawindowcontext.mm:

  1. Removed nswindow.movable = NO.
  2. Added NSWindowCollectionBehaviorFullScreenPrimary so the window participates in macOS Split View and tiling.

@Prthmsh7
Copy link
Copy Markdown
Contributor Author

@MoonL79 Please review this one as well, Thanks!

Copy link
Copy Markdown
Contributor

@Yuki-Nagori Yuki-Nagori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍LGTM

@Yuki-Nagori Yuki-Nagori merged commit 95806e9 into MoganLab:main Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

macOS上系统缩放键悬停缺少移动填充等按钮

2 participants