mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-16 16:50:41 +01:00
The root geometry and XShm image were read once at startup, so after a RandR or xrdp resize every new connection asked x11grab for the old size and stalled on "transferring picture". Query the root geometry before each desktop connection and rebuild the capture when it changed; guard capture with a lock and reject a stale-sized buffer instead of overflowing it. The HEVC fallback log now includes the actual failure. Co-Authored-By: Claude Opus 5.5 <[email protected]>