--x11 shows the desktop on the X server in $DISPLAY: a resizable window under a window manager (--fullscreen asks it for fullscreen), or the whole screen when no window manager runs, following xrandr resizes. compositor/x11 is a pure X11 wire-protocol client (no libX11/xcb), so it runs in the wasm compositor on both hosts and in the native build. Frames go through MIT-SHM 1.2 (ShmAttachFd of the host frame memfd, paced by ShmCompletion), with a core PutImage fallback. The keymap given to clients is the X server's own (xkbcomp -xkb $DISPLAY -); X auto-repeat is dropped, modifier/lock state comes from X's modifier map; MIT-MAGIC-COOKIE-1 auth. chandra-session --x11 (and the new "Chandra (X11)" xsessions entry) runs it as the login session; --login-session gives an X11 session what --drm implied (power actions, polkit agent, system theme). just run-x11. Docs: docs/x11.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hhLFs4VtHV26G1iyeo
This commit is contained in:
14 files changed
+1777
-19
No files matched your search
@@ -45,6 +45,11 @@ run: compositor-wasm wasmhost modules
|
||||
build/wasmhost build/compositor.wasm --socket {{socket}} --theme {{theme}} --window
|
||||
|
||||
# The same on the Rust host (host-wasm), kept as a fallback while the MoonBit host settles in.
|
||||
# On an X server (NVIDIA's proprietary driver, docs/x11.md): a window under a window manager, or the whole screen without one.
|
||||
run-x11: compositor-wasm wasmhost modules
|
||||
rm -f {{socket}}
|
||||
build/wasmhost build/compositor.wasm --socket {{socket}} --theme {{theme}} --x11
|
||||
|
||||
run-rust: compositor-wasm host-wasm modules
|
||||
rm -f {{socket}}
|
||||
host-wasm/target/release/chandra-host build/compositor.wasm --socket {{socket}} --theme {{theme}} --window
|
||||
|
||||
Reference in new issue
Block a user