Phase 5: window management via x11rb

- Add x11rb 0.13 dependency with randr feature
- RustConnection and root window in X11Backend
- Focus window via _NET_ACTIVE_WINDOW client message
- Close window via _NET_CLOSE_WINDOW client message
- Move/resize via configure_window
- Handler dispatchers for focus, close, move-window, resize-window
- list-windows command re-runs snapshot for fresh window tree
This commit is contained in:
Harivansh Rathi 2026-03-24 21:36:56 -04:00
parent 314a11bcba
commit 567115a6c2
4 changed files with 197 additions and 10 deletions

View file

@ -20,3 +20,4 @@ image = { version = "0.25", features = ["png"] }
imageproc = "0.26"
ab_glyph = "0.2"
enigo = "0.6"
x11rb = { version = "0.13", features = ["randr"] }