Skip to content

fix: Windows maximize/snap support (backfill from cinematic)#44

Open
lacymorrow wants to merge 1 commit intomainfrom
fix/windows-maximize-backfill
Open

fix: Windows maximize/snap support (backfill from cinematic)#44
lacymorrow wants to merge 1 commit intomainfrom
fix/windows-maximize-backfill

Conversation

@lacymorrow
Copy link
Copy Markdown
Collaborator

Backfills the Windows 11 maximize/snap fix from lacymorrow/cinematic PR #107.

Changes:

  • Disable transparent: true on Windows (strips WS_THICKFRAME, breaks maximize/snap gestures)
  • Set frame: true on Windows so titleBarStyle + titleBarOverlay render native controls
  • Add IPC handlers for window controls (minimize/maximize/close/isMaximized)
  • Add WINDOW_MAXIMIZED_CHANGE channel constant for titlebar state sync
  • Expose window control methods in preload

- Disable transparency on Windows (strips WS_THICKFRAME, breaks maximize/snap)
- Set frame: true on Windows for titleBarStyle + titleBarOverlay to work
- Add IPC handlers for window controls (minimize/maximize/close/isMaximized)
- Add WINDOW_MAXIMIZED_CHANGE channel for titlebar state sync
- Expose window control methods in preload

Backfilled from lacymorrow/cinematic PR #107
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.

1 participant