Skip to content

v1.0.0-alpha.14

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Oct 12:02
· 1 commit to main since this release
Use fade v0.13.0 for maximize and the window commands

fade's toplevel package now does what rp6 reached into GLFW for:
Maximized, SetMaximized, an OnMaximize event and the compositor's
Bounds, through fade's GLFW fork (a lookup by native handle, a default
maximize callback, xdg_wm_base v4). nativewin_desktop.go wraps it, on
X11 as well as Wayland, and the cgo lookup is gone. The maximize event
runs pollWindow as soon as the compositor answers; the meter tick still
polls. Where the compositor's bounds are known, windowedSize uses them
first; on GNOME libdecor keeps them, so the learned work area and the
estimate stay.

fade's autopilot gained window commands, window-state waits, wait gone
and keys with modifiers, so the autopilot-only F9 and its key hook are
gone: docs/autopilot/maximize.txt now asks for the maximize itself and
waits for the console's keyboard to show and go, and
scripts/smoke-maximize.sh only checks the RP6_DIAG log for the size.

Passed live on the X13 at 1.25 scale: maximized to 1536x891 with the
console, restored to 850 wide with the window layout, in 1.9 s.