Rewrite X11 backend to drop xcap

Use x11rb directly for screenshot capture and window metadata so the Linux build no longer drags in Wayland build dependencies.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Harivansh Rathi 2026-03-25 12:28:23 -04:00
parent cc7490993a
commit e392ba1055
11 changed files with 488 additions and 2128 deletions

View file

@ -1,8 +1,8 @@
pub mod annotate;
pub mod x11;
use anyhow::Result;
use crate::core::types::Snapshot;
use anyhow::Result;
#[allow(dead_code)]
pub trait DesktopBackend: Send {