summaryrefslogtreecommitdiff
path: root/docs/typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 02:33:21 -0300
committerGabriel Schneider <[email protected]>2026-11-18 03:43:34 -0300
commitcf5f2d75ba24c02240044027b6de7b151e0ab9df (patch)
treed296d5f5956ace420645766fa36b46646a3dd8e3 /docs/typ
parent7367335a64473d1f5522bdba71db2657b7fb2398 (diff)
downloadpardes-cf5f2d75ba24c02240044027b6de7b151e0ab9df.tar.gz
pardes-cf5f2d75ba24c02240044027b6de7b151e0ab9df.zip
gui: a native Wayland window starts opaque, claimed by the GPU API, and is made again transparent, presenting through SDL_Renderer, at the first WindowOpacity under 100 (syncWindowOpacity: before the first frame when the startup file says it, a blink while running, a --detach session's window kept hidden), not transparent at every start whatever the opacity: at 100 no EGL and GL stack beside Vulkan and no slow first soft present; a real window (the user's Wayland display): the first present 28.7-41.2 ms -> 3.3-3.5 ms, instructions:u to the first frame 551M -> 520M (two runs each), exec to the end of the first frame 288 -> 249 ms best (load 0.9); WindowOpacity 70 in the startup file starts transparent (first present 28.6 ms, the soft path), and typed while running at 100 switches (a 45 ms present after it), no failure said; reference.typ says it
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs/typ')
-rw-r--r--docs/typ/reference.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index 7f3ea0b8..47014d1b 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -463,7 +463,7 @@ word clicked in a tag does. The same lines go in the startup file
[#word("Wrap"), #word("Debug")], [toggles],
[#word("Font") `<name>[:<size>]`, #word("Fonts")], [SDL and macOS only; size 8-72 (pixels in SDL, points on macOS)],
[#word("TaglineSize") `<1-100>`], [82: tagline face, percent; SDL and macOS],
- [#word("WindowOpacity") `<0-100>`], [100; SDL only: everything but text and the cursor],
+ [#word("WindowOpacity") `<0-100>`], [100; SDL only: everything but text and the cursor; on Wayland the first value under 100 makes the window again (at start, before it shows; while running, it blinks), transparent until it closes],
[#word("Pet") `off|cat|frog`], [off; SDL only: a sprite in the workspace tag's blank space],
)