From cf5f2d75ba24c02240044027b6de7b151e0ab9df Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 18 Nov 2026 02:33:21 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- docs/typ/reference.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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") `[:]`, #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], ) -- cgit v1.3