Repository navigation
Conversation
Let custom title bars minimize normal Windows and Linux windows rather than rejecting all borderless windows. Add Tx::toggle_maximize to the deferred window frame requests and share its native maximize/restore operation with title-bar double clicks off macOS. Keep AppKit's double-click preference. On resizable borderless app windows, reserve six logical points along the edges and corners for the native resize cursor and drag. Hit the frame before dispatching a press to content, including a full-window drag region. Request the system shadow for these borderless Windows app windows, fixed size or resizable. Leave overlays, panels and launchers out. Verified the rune and rune-kit build, markdown-enabled test suite, full workspace/all-targets check, and file/folder size gate on macOS. Clippy exited successfully with the same warnings as the base revision. Checked 16 edge geometry cases and cross-checked Rune for x86_64 Linux GNU and Windows MSVC. Windows used blake3/pure because the default assembly build requires ml64.exe. Native Windows and Linux interaction remains untested.
R44VC0RP
added a commit
to anomalyco/clip
that referenced
this pull request
Nov 5, 2026
Pins anomalyco/rune#93 (window-controls), which lets borderless app windows minimize, adds Tx::toggle_maximize, a 6 pt edge resize band and the Windows system shadow. The Windows and Linux title bar's maximize button now calls toggle_maximize (it did nothing); minimize works through the existing Tx::minimize. Verified on macOS: cargo build clean; the review opens and exports with the new Rune (macOS windows are unaffected by the change). Windows and Linux behaviour is checked on exon-desk and exonbox next.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets apps that draw their own title bar on Windows and Linux (Clip does) use real window controls:
Tx::minimize()/AppHandle::minimize()now minimize normal borderless app windows (overlays, panels and launchers still refuse).Tx::toggle_maximize(): maximize or restore after the handler, sharing the native path of the title-bar double click off macOS..window_drag()region can't swallow it).macOS titled windows and AppKit's double-click preference are unchanged.
Verified: rune and rune-kit test suite on macOS (2,366 passed), clippy unchanged from e6371c4, 16 edge-geometry cases, cross-checks for x86_64 Linux GNU and Windows MSVC (with
blake3/pure). Native Windows and Linux runs come next, in Clip.