Native Wayland desktop: fully interactive terminal
The embedded labwc compositor now has a working foot terminal with keyboard input, stable display rendering, and correct pixel aspect ratio.
What's new
- Keyboard input works — Android soft keyboard types into the Wayland foot terminal. Uppercase, symbols, and special characters all mapped correctly via evdev keycodes with Shift wrapping.
- Stable display — keyboard open/close no longer destroys the SurfaceView or distorts pixels. IME padding is conditionally applied (skipped for Wayland desktop, kept for SSH terminal).
- Pager swipe disabled on the Wayland desktop page to prevent accidental page switches during touch interaction.
Technical fixes
- Seat capabilities: headless wlroots backend doesn't advertise
WL_SEAT_CAPABILITY_KEYBOARD— now set explicitly so clients bindwl_keyboard - Frame callbacks:
wlr_scene_output_send_frame_done()+wl_display_flush_clients()in frame timer for headless output - Environment isolation:
FONTCONFIG_FILEandXKB_CONFIG_ROOTunset in PRoot so foot uses Alpine's fonts/xkb - Compositor restart: static state (
focus_sent, input queue) reset on eachcompositor_main()entry - Input queue: enlarged to 256 entries for shifted character bursts
Upstream contributions
- labwc/labwc#3473 — Make labnag a meson feature flag
- labwc/labwc#3474 — keyboard: use
XKB_CONTEXT_NO_SECURE_GETENVon Android
Tracking: #47
Full Changelog: v4.9.0...v4.10.0