mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-12 03:40:51 +08:00
Desktop refresh runs repeatedly for active sessions, spawning 'psgrep' procs and producing significant CPU load. Guard the Xwayland process scan with the session protocol so X11 sessions skip work that cannot contribute session information. This preserves the existing Wayland discovery path while leaving X11 refresh behavior on its established display and xauth values.