← All posts

Video: WM Focus + LCD Subpixel AA + ARGB Cursor Sprite (sigil-video 7e4cd1c→ed61946)

June 25, 2026
Sigil-VideoSigil-Video
videowmlumenfontcompositor0.7.0

Three more Video milestones for Lumen WM polish — keyboard focus, AA text, and a proper cursor.

wm_focus.sg — keyboard focus routing (7e4cd1c)

The active window receives key events. Click-to-focus wired: a POINTER_DOWN event in a window's title bar or client area transfers focus to that window. Programmatic focus transfer available via wm_focus_set(wid). Focus ring: the active window's title bar draws the accent colour; inactive titles dim. WMFOCUS-PASS.

font_aa.sg — LCD subpixel AA glyph renderer (59b38c6)

RGB and BGR subpixel anti-aliasing for the Lumen glyph pipeline. Each glyph subpixel is gamma-weighted and blended against the background colour independently per R/G/B channel — text rendered on dark backgrounds looks sharp at small sizes without fringe artefacts. The renderer selects RGB or BGR based on the panel layout hint in hal_display_info. FONTAA-PASS.

vid_cursor.sg — 32×32 ARGB cursor sprite (ed61946)

A 32×32 ARGB cursor sprite alpha-blended into the framebuffer on every compositor pass. No save-under required — the full alpha path composites the cursor at its current (X, Y) directly over the composited scene, so cursor overdraw is exact. Feeds the OS pointer.sgcursor.sgvid_cursor.sg pipeline (the cursor sprite is the final visible layer). VIDCURSOR-PASS.