[P1] Implement generic Xorg active-window metadata source #14

Closed
opened 2026-07-17 23:59:58 +00:00 by lost-rob0t · 0 comments
lost-rob0t commented 2026-07-17 23:59:58 +00:00 (Migrated from github.com)

Goal

Collect minimal window context on Xorg without depending on a specific window manager.

Requirements

  • Active window ID, application/class, title, geometry, desktop/workspace where available, and timestamp.
  • Use native X11 APIs or narrowly scoped commands with validated output.
  • Normalize fields into the shared metadata model.
  • Apply metadata redaction before records enter persistence.
  • Handle destroyed windows, focus races, missing properties, and multi-monitor layouts.

Acceptance criteria

  • Works under a generic EWMH-compatible Xorg window manager.
  • No shell interpolation of captured values.
  • Window title collection can be disabled independently.
  • Tests cover malformed properties and focus changes during capture.

Depends on

## Goal Collect minimal window context on Xorg without depending on a specific window manager. ## Requirements - Active window ID, application/class, title, geometry, desktop/workspace where available, and timestamp. - Use native X11 APIs or narrowly scoped commands with validated output. - Normalize fields into the shared metadata model. - Apply metadata redaction before records enter persistence. - Handle destroyed windows, focus races, missing properties, and multi-monitor layouts. ## Acceptance criteria - Works under a generic EWMH-compatible Xorg window manager. - No shell interpolation of captured values. - Window title collection can be disabled independently. - Tests cover malformed properties and focus changes during capture. ## Depends on - #13
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/local-recall#14
No description provided.