Skip to main content

Screen capture

capture module wraps ext_image_copy_capture_v1:
  • Capturer: session lifecycle
  • OutputList / OutputInfo: monitor enumeration
  • Toplevel capture for window shots
Used by screenshot, recording, and wallpaper tools.

Capture overlay

capture_overlay draws a dimmed frozen backdrop for interactive capture UIs. Pairs with live capture frames from capture.

Selection overlay

Drag-to-select for otter-screenshot, otter-shot, and otter-rec. Also supports crosshair point selection for otter-clicker via Selector.runPoint(). Pixels go straight to SHM with incremental damage. This path skips Surface Description. Live mode skips the freeze and draws a shaded overlay. The selector can hide the cursor when the capture omits it. Point mode draws a transparent overlay with a crosshair cursor and returns a single geo.Point.

Dim overlay

DimOverlay is a fullscreen layer surface for modal dimming (logout menu, lock transitions).