github GlassHaven/Haven v4.11.0
v4.11.0: Native Wayland window management

latest releases: v5.94.63, v5.94.62, v5.94.61...
7 months ago

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 graphicsLayer transforms (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/release for SSD action handling, with fallthrough to wlr_seat_pointer_notify_button for 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

Don't miss a new Haven release

NewReleases is sending notifications on new releases.