mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-26 23:57:33 +00:00
DRM capture is about to be compiled into every Linux build, so it needs a runtime switch. `drm_capture_enabled()` reads the new `allow-drm-capture` option (default off) or `RUSTDESK_DRM_CAPTURE=Y`, which the root service will set for a greeter `--server`. While it is off the consumer never probes `_drm`: `availability()` and `availability_cached()` answer Unavailable and the startup warm returns at once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P1grQ39ByRWPUtTBdTzEBF