add frameless transparent always-on-top window options and window.move bridge command#1
add frameless transparent always-on-top window options and window.move bridge command#1Railly wants to merge 3 commits into
Conversation
|
@Railly is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
|
@Railly good call! Can you address these plz?
|
942d8d6 to
9828fa8
Compare
|
@ctate Pushed
Same commit also fixes the CEF linker issue the Vercel bot flagged ( |
|
@Railly Thanks for the quick follow-up. Policy gap and CEF linker fix both look good. Found one more CEF thing while testing: Related: |
|
@ctate Nice catches, just pushed this commit:
Verified with |
7c5e737 to
664ef39
Compare
Adds three optional window flags and a new builtin bridge command that
unblock overlay/companion window patterns the current API can't express.
Same primitives as Tauri, Electron, and GTK.
Window options
All default
false. Readable fromapp.zon:frameless—NSWindowStyleMaskBorderlesstransparent— clearNSWindow+ transparentWKWebViewalways_on_top—NSFloatingWindowLevel+ can-join-all-spaceswindow.move
dx/dyare screen-space, Y-down. When the payload omits a selector,the move targets the window that sent the message (matches Tauri's
setPosition). Boundary clamping is opt-in.Combined with pointer events, this enables custom drag UX with
velocity, momentum, and edge stops — similar to
window.startDragging().Scope
transparency is a follow-up).
false→ backwards compatible.Tests
zig build testpasses on macOS 14 / Zig 0.16. New coverage:window.moveincluding source-window fallbackand clamp/hit reporting through an extended
NullPlatformHappy to split into smaller PRs if preferred.