Native Wayland: full window management and interaction
Building on v4.10.0's keyboard support, this release adds mouse interaction, window decorations, zoom/pan, and window management to the native Wayland compositor.
What's new
- Server-side decorations — labwc's built-in theme renders titlebars, borders, shadows, and window buttons. Fonts resolved via Android's
/system/fonts. - Window button actions — close, maximize, and minimize buttons work. Clicks routed through labwc's SSD handler (
cursor_process_button_press). - Auto-maximize — foot window fills the full output on map. Minimized windows are automatically restored (no taskbar on mobile).
- Mouse interaction — single-finger tap sends left-click, drag-to-select works in the terminal.
- Pinch-to-zoom — two-finger pinch zoom and pan via Compose
graphicsLayertransforms (same pattern as VNC/RDP viewers). - TextureView rendering — switched from SurfaceView to TextureView so Compose transforms apply correctly.
Technical details
theme_init()replaces the zeroed-theme workaround — Pango/Cairo render titlebar text using Android system fonts- Pointer events route through
cursor_process_button_press/releasefor SSD action handling, with fallthrough towlr_seat_pointer_notify_buttonfor client events - Full scene damage forced every frame for continuous blit during zoom/pan
- Output mode = physical pixels, Wayland scale = 3 for readable text at native DPI
Tracking: #47
Full Changelog: v4.10.1...v4.11.0